pub struct WireStartupMode { /* private fields */ }
Expand description
The wire type corresponding to StartupMode
.
Implementations§
Source§impl WireStartupMode
impl WireStartupMode
pub const LAZY: WireStartupMode
pub const EAGER: WireStartupMode
Trait Implementations§
Source§impl Clone for WireStartupMode
impl Clone for WireStartupMode
Source§fn clone(&self) -> WireStartupMode
fn clone(&self) -> WireStartupMode
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 WireStartupMode
impl Debug for WireStartupMode
Source§impl<___D> Decode<___D> for WireStartupModewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireStartupModewhere
___D: ?Sized,
Source§impl From<StartupMode> for WireStartupMode
impl From<StartupMode> for WireStartupMode
Source§fn from(natural: StartupMode) -> Self
fn from(natural: StartupMode) -> Self
Converts to this type from the input type.
Source§impl From<WireStartupMode> for StartupMode
impl From<WireStartupMode> for StartupMode
Source§fn from(wire: WireStartupMode) -> Self
fn from(wire: WireStartupMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireStartupMode
impl PartialEq for WireStartupMode
Source§impl TakeFrom<WireStartupMode> for StartupMode
impl TakeFrom<WireStartupMode> for StartupMode
Source§fn take_from(from: &WireStartupMode) -> Self
fn take_from(from: &WireStartupMode) -> 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<WireStartupMode> for StartupMode
impl TakeFrom<WireStartupMode> for StartupMode
Source§fn take_from(from: &WireStartupMode) -> Self
fn take_from(from: &WireStartupMode) -> 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 WireStartupMode
impl ZeroPadding for WireStartupMode
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 WireStartupMode
impl Eq for WireStartupMode
impl StructuralPartialEq for WireStartupMode
Auto Trait Implementations§
impl Freeze for WireStartupMode
impl RefUnwindSafe for WireStartupMode
impl Send for WireStartupMode
impl Sync for WireStartupMode
impl Unpin for WireStartupMode
impl UnwindSafe for WireStartupMode
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