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