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