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