#[repr(C)]pub struct ProtocolPayload {
pub channel: WireChannel,
}
Expand description
The wire type corresponding to ProtocolPayload
.
Fields§
§channel: WireChannel
Trait Implementations§
Source§impl Debug for ProtocolPayload
impl Debug for ProtocolPayload
Source§impl<___D> Decode<___D> for ProtocolPayloadwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for ProtocolPayloadwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl FromWire<ProtocolPayload> for ProtocolPayload
impl FromWire<ProtocolPayload> for ProtocolPayload
Source§const COPY_OPTIMIZATION: CopyOptimization<ProtocolPayload, Self>
const COPY_OPTIMIZATION: CopyOptimization<ProtocolPayload, Self>
Source§fn from_wire(wire: ProtocolPayload) -> Self
fn from_wire(wire: ProtocolPayload) -> Self
Converts the given
wire
to this type.Source§impl IntoNatural for ProtocolPayload
impl IntoNatural for ProtocolPayload
Source§type Natural = ProtocolPayload
type Natural = ProtocolPayload
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for ProtocolPayload
impl Wire for ProtocolPayload
Source§type Decoded<'de> = ProtocolPayload
type Decoded<'de> = ProtocolPayload
The decoded wire type, restricted to the
'de
lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Unconstrained for ProtocolPayload
Auto Trait Implementations§
impl Freeze for ProtocolPayload
impl RefUnwindSafe for ProtocolPayload
impl Send for ProtocolPayload
impl Sync for ProtocolPayload
impl Unpin for ProtocolPayload
impl UnwindSafe for ProtocolPayload
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> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
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
]