pub struct ConnectionHandle<'a> { /* private fields */ }
Expand description

A handle to the Wayland connection

A connection handle may be constructed from a Handle using it’s From implementation.

Implementations

Returns the underlying Handle from wayland-backend.

Get the WlDisplay associated with this connection

Send a request associated with the provided object

This is a low-level interface for sending requests, you will likely instead use the methods of the types representing each interface.

Create a placeholder id for request serialization

This is a low-level interface for sending requests, you don’t need to use it if you are using the methods of the types representing each interface.

Create a null id for request serialization

This is a low-level interface for sending requests, you don’t need to use it if you are using the methods of the types representing each interface.

Get the object data for a given object ID

This is a low-level interface, a higher-level interface for manipulating object data is given as Proxy::data().

Get the protocol information related to given object ID

Trait Implementations

Formats the value using the given formatter. Read more

Creates a ConnectionHandle using a &mut Handle from wayland-backend.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.