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