pub struct WireModeType { /* private fields */ }
Expand description
The wire type corresponding to ModeType
.
Trait Implementations§
Source§impl Clone for WireModeType
impl Clone for WireModeType
Source§fn clone(&self) -> WireModeType
fn clone(&self) -> WireModeType
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 WireModeType
impl Debug for WireModeType
Source§impl<___D> Decode<___D> for WireModeTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireModeTypewhere
___D: ?Sized,
Source§impl From<ModeType> for WireModeType
impl From<ModeType> for WireModeType
Source§impl From<WireModeType> for ModeType
impl From<WireModeType> for ModeType
Source§fn from(wire: WireModeType) -> Self
fn from(wire: WireModeType) -> Self
Converts to this type from the input type.
Source§impl FromWire<WireModeType> for ModeType
impl FromWire<WireModeType> for ModeType
Source§fn from_wire(wire: WireModeType) -> Self
fn from_wire(wire: WireModeType) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireModeType> for ModeType
impl FromWireRef<WireModeType> for ModeType
Source§fn from_wire_ref(wire: &WireModeType) -> Self
fn from_wire_ref(wire: &WireModeType) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireModeType
impl Wire for WireModeType
Source§type Decoded<'de> = WireModeType
type Decoded<'de> = WireModeType
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 WireModeType
Auto Trait Implementations§
impl Freeze for WireModeType
impl RefUnwindSafe for WireModeType
impl Send for WireModeType
impl Sync for WireModeType
impl Unpin for WireModeType
impl UnwindSafe for WireModeType
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