pub struct ProtocolPayload<T0> {
pub channel: T0,
}Fields§
§channel: T0Trait Implementations§
Source§impl<T0> Encodable for ProtocolPayload<T0>where
T0: Encodable<Encoded = WireChannel>,
impl<T0> Encodable for ProtocolPayload<T0>where
T0: Encodable<Encoded = WireChannel>,
Source§type Encoded = ProtocolPayload
type Encoded = ProtocolPayload
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self to Self::Encoded is equivalent to copying the raw bytes
of Self. Read moreSource§impl<___E, T0> Encode<___E> for ProtocolPayload<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<___E, Encoded = WireChannel>,
impl<___E, T0> Encode<___E> for ProtocolPayload<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<___E, Encoded = WireChannel>,
Auto Trait Implementations§
impl<T0> Freeze for ProtocolPayload<T0>where
T0: Freeze,
impl<T0> RefUnwindSafe for ProtocolPayload<T0>where
T0: RefUnwindSafe,
impl<T0> Send for ProtocolPayload<T0>where
T0: Send,
impl<T0> Sync for ProtocolPayload<T0>where
T0: Sync,
impl<T0> Unpin for ProtocolPayload<T0>where
T0: Unpin,
impl<T0> UnwindSafe for ProtocolPayload<T0>where
T0: UnwindSafe,
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]