#[repr(C)]pub struct WireContext<'de> {
pub bytes: WireVector<'de, u8>,
}
Expand description
The wire type corresponding to Context
.
Fields§
§bytes: WireVector<'de, u8>
Trait Implementations§
Source§impl<'de> Debug for WireContext<'de>
impl<'de> Debug for WireContext<'de>
Source§impl<___D> Decode<___D> for WireContext<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
impl<___D> Decode<___D> for WireContext<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
Source§impl<'de> FromWire<WireContext<'de>> for Context
impl<'de> FromWire<WireContext<'de>> for Context
Source§fn from_wire(wire: WireContext<'de>) -> Self
fn from_wire(wire: WireContext<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<WireContext<'de>> for Context
impl<'de> FromWireRef<WireContext<'de>> for Context
Source§fn from_wire_ref(wire: &WireContext<'de>) -> Self
fn from_wire_ref(wire: &WireContext<'de>) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireContext<'static>
impl Wire for WireContext<'static>
Source§type Decoded<'de> = WireContext<'de>
type Decoded<'de> = WireContext<'de>
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.
Auto Trait Implementations§
impl<'de> Freeze for WireContext<'de>
impl<'de> RefUnwindSafe for WireContext<'de>
impl<'de> Send for WireContext<'de>
impl<'de> Sync for WireContext<'de>
impl<'de> Unpin for WireContext<'de>
impl<'de> !UnwindSafe for WireContext<'de>
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