pub struct Protocol;Expand description
The type corresponding to the Protocol protocol.
Trait Implementations§
Source§impl ClientCompatFrom<ProtocolProxy> for Protocol
Available on Fuchsia only.
impl ClientCompatFrom<ProtocolProxy> for Protocol
Available on Fuchsia only.
Source§fn client_compat_from(
proxy: ProtocolProxy,
) -> ClientDispatcher<Protocol, Channel>
fn client_compat_from( proxy: ProtocolProxy, ) -> ClientDispatcher<Protocol, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<ProtocolMarker> for Protocol
impl CompatFrom<ProtocolMarker> for Protocol
Source§fn compat_from(_: ProtocolMarker) -> Protocol
fn compat_from(_: ProtocolMarker) -> Protocol
Converts
value into a value of this type.Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Protocolwhere
___H: ProtocolClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Protocolwhere
___H: ProtocolClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Protocolwhere
___H: ProtocolServerHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Protocolwhere
___H: ProtocolServerHandler<___T> + Send,
___T: Transport,
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnsafeUnpin for Protocol
impl UnwindSafe for Protocol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]