#[repr(C)]pub struct WirePackage { /* private fields */ }
Expand description
The wire type corresponding to Package
.
Implementations§
Trait Implementations§
Source§impl Debug for WirePackage
impl Debug for WirePackage
Source§impl<___D> Decode<___D> for WirePackagewhere
___D: Decoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WirePackagewhere
___D: Decoder + ?Sized + HandleDecoder,
Source§impl TakeFrom<WirePackage> for Package
impl TakeFrom<WirePackage> for Package
Source§fn take_from(from: &WirePackage) -> Self
fn take_from(from: &WirePackage) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WirePackage> for Package
impl TakeFrom<WirePackage> for Package
Source§fn take_from(from: &WirePackage) -> Self
fn take_from(from: &WirePackage) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WirePackage
impl ZeroPadding for WirePackage
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 Freeze for WirePackage
impl RefUnwindSafe for WirePackage
impl !Send for WirePackage
impl !Sync for WirePackage
impl Unpin for WirePackage
impl UnwindSafe for WirePackage
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