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 FromWire<WireStartupMode> for StartupMode
impl FromWire<WireStartupMode> for StartupMode
Source§fn from_wire(wire: WireStartupMode) -> Self
fn from_wire(wire: WireStartupMode) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireStartupMode> for StartupMode
impl FromWireRef<WireStartupMode> for StartupMode
Source§fn from_wire_ref(wire: &WireStartupMode) -> Self
fn from_wire_ref(wire: &WireStartupMode) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireStartupMode
impl PartialEq for WireStartupMode
Source§impl Wire for WireStartupMode
impl Wire for WireStartupMode
Source§type Decoded<'de> = WireStartupMode
type Decoded<'de> = WireStartupMode
The decoded wire type, restricted to the
'de
lifetime.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