pub struct Cloneable;Expand description
The type corresponding to the Cloneable protocol. Provides a means of duplicating a connection.
See the composing protocol’s documentation for a description of connection-scoped state, if any.
Trait Implementations§
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Cloneablewhere
___H: CloneableClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Cloneablewhere
___H: CloneableClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Cloneablewhere
___H: CloneableServerHandler<___T> + Send,
___T: Transport,
for<'de> CloneableCloneRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Cloneablewhere
___H: CloneableServerHandler<___T> + Send,
___T: Transport,
for<'de> CloneableCloneRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl StructuralPartialEq for Cloneable
Auto Trait Implementations§
impl Freeze for Cloneable
impl RefUnwindSafe for Cloneable
impl Send for Cloneable
impl Sync for Cloneable
impl Unpin for Cloneable
impl UnsafeUnpin for Cloneable
impl UnwindSafe for Cloneable
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§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]