pub struct WireOpenFlags { /* private fields */ }
Expand description
The wire type corresponding to OpenFlags
.
Trait Implementations§
Source§impl Clone for WireOpenFlags
impl Clone for WireOpenFlags
Source§fn clone(&self) -> WireOpenFlags
fn clone(&self) -> WireOpenFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WireOpenFlags
impl Debug for WireOpenFlags
Source§impl<___D> Decode<___D> for WireOpenFlagswhere
___D: ?Sized,
impl<___D> Decode<___D> for WireOpenFlagswhere
___D: ?Sized,
Source§impl From<OpenFlags> for WireOpenFlags
impl From<OpenFlags> for WireOpenFlags
Source§impl From<WireOpenFlags> for OpenFlags
impl From<WireOpenFlags> for OpenFlags
Source§fn from(wire: WireOpenFlags) -> Self
fn from(wire: WireOpenFlags) -> Self
Converts to this type from the input type.
Source§impl TakeFrom<WireOpenFlags> for OpenFlags
impl TakeFrom<WireOpenFlags> for OpenFlags
Source§fn take_from(from: &WireOpenFlags) -> Self
fn take_from(from: &WireOpenFlags) -> 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<WireOpenFlags> for OpenFlags
impl TakeFrom<WireOpenFlags> for OpenFlags
Source§fn take_from(from: &WireOpenFlags) -> Self
fn take_from(from: &WireOpenFlags) -> 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 WireOpenFlags
impl ZeroPadding for WireOpenFlags
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 WireOpenFlags
Auto Trait Implementations§
impl Freeze for WireOpenFlags
impl RefUnwindSafe for WireOpenFlags
impl Send for WireOpenFlags
impl Sync for WireOpenFlags
impl Unpin for WireOpenFlags
impl UnwindSafe for WireOpenFlags
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