pub struct WireFlags { /* private fields */ }
Expand description
The wire type corresponding to Flags
.
Trait Implementations§
Source§impl TakeFrom<WireFlags> for Flags
impl TakeFrom<WireFlags> for Flags
Source§fn take_from(from: &WireFlags) -> Self
fn take_from(from: &WireFlags) -> 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<WireFlags> for Flags
impl TakeFrom<WireFlags> for Flags
Source§fn take_from(from: &WireFlags) -> Self
fn take_from(from: &WireFlags) -> 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 WireFlags
impl ZeroPadding for WireFlags
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireFlags
Auto Trait Implementations§
impl Freeze for WireFlags
impl RefUnwindSafe for WireFlags
impl Send for WireFlags
impl Sync for WireFlags
impl Unpin for WireFlags
impl UnwindSafe for WireFlags
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