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