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