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