Trait fuchsia_wayland_core::Interface
source · pub trait Interface {
type Incoming: FromArgs;
type Outgoing: IntoMessage;
const NAME: &'static str;
const VERSION: u32;
const REQUESTS: MessageGroupSpec;
const EVENTS: MessageGroupSpec;
}
Required Associated Types§
sourcetype Outgoing: IntoMessage
type Outgoing: IntoMessage
The rust type that can be decoded into outgoing messages.
Required Associated Constants§
sourceconst NAME: &'static str
const NAME: &'static str
The name of this interface. This will correspond to the ‘name’ attribute on the ‘interface’ element in the wayland protocol XML.
sourceconst VERSION: u32
const VERSION: u32
The version of this interface. This will correspond to the ‘version’ attribute on the ‘interface’ element in the wayland protocol XML.
sourceconst REQUESTS: MessageGroupSpec
const REQUESTS: MessageGroupSpec
A description of the structure of request messages.
sourceconst EVENTS: MessageGroupSpec
const EVENTS: MessageGroupSpec
A description of the structure of event messages.
Object Safety§
This trait is not object safe.