Trait fidl_driver::endpoints::DriverProtocolMarker

source ·
pub trait DriverProtocolMarker: Sized + Send + Sync + 'static {
    const DEBUG_NAME: &'static str;
}
Expand description

A marker for a particular FIDL protocol.

Implementations of this trait can be used to manufacture instances of a FIDL protocol and get metadata about a particular protocol.

Required Associated Constants§

source

const DEBUG_NAME: &'static str

The name of the protocol suitable for debug purposes.

For discoverable protocols, this should be identical to <Self as DiscoverableProtocolMarker>::PROTOCOL_NAME.

Object Safety§

This trait is not object safe.

Implementors§