pub struct ExecutionStateLevel { /* private fields */ }Expand description
The wire type corresponding to ExecutionStateLevel.
Implementations§
Source§impl ExecutionStateLevel
impl ExecutionStateLevel
pub const INACTIVE: ExecutionStateLevel
pub const SUSPENDING: ExecutionStateLevel
pub const ACTIVE: ExecutionStateLevel
Trait Implementations§
Source§impl Clone for ExecutionStateLevel
impl Clone for ExecutionStateLevel
Source§fn clone(&self) -> ExecutionStateLevel
fn clone(&self) -> ExecutionStateLevel
Returns a duplicate 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 Constrained for ExecutionStateLevel
impl Constrained for ExecutionStateLevel
Source§impl Debug for ExecutionStateLevel
impl Debug for ExecutionStateLevel
Source§impl<___D> Decode<___D> for ExecutionStateLevelwhere
___D: ?Sized,
impl<___D> Decode<___D> for ExecutionStateLevelwhere
___D: ?Sized,
Source§impl<'a, ___E> Encode<ExecutionStateLevel, ___E> for &'a ExecutionStateLevelwhere
___E: ?Sized,
impl<'a, ___E> Encode<ExecutionStateLevel, ___E> for &'a ExecutionStateLevelwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ExecutionStateLevel>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ExecutionStateLevel>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<ExecutionStateLevel, ___E> for ExecutionStateLevelwhere
___E: ?Sized,
impl<___E> Encode<ExecutionStateLevel, ___E> for ExecutionStateLevelwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ExecutionStateLevel>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ExecutionStateLevel>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<ExecutionStateLevel> for ExecutionStateLevel
impl From<ExecutionStateLevel> for ExecutionStateLevel
Source§fn from(wire: ExecutionStateLevel) -> Self
fn from(wire: ExecutionStateLevel) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionStateLevel> for ExecutionStateLevel
impl From<ExecutionStateLevel> for ExecutionStateLevel
Source§fn from(natural: ExecutionStateLevel) -> Self
fn from(natural: ExecutionStateLevel) -> Self
Converts to this type from the input type.
Source§impl FromWire<ExecutionStateLevel> for ExecutionStateLevel
impl FromWire<ExecutionStateLevel> for ExecutionStateLevel
Source§fn from_wire(wire: ExecutionStateLevel) -> Self
fn from_wire(wire: ExecutionStateLevel) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<ExecutionStateLevel> for ExecutionStateLevel
impl FromWireRef<ExecutionStateLevel> for ExecutionStateLevel
Source§fn from_wire_ref(wire: &ExecutionStateLevel) -> Self
fn from_wire_ref(wire: &ExecutionStateLevel) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for ExecutionStateLevel
impl IntoNatural for ExecutionStateLevel
Source§type Natural = ExecutionStateLevel
type Natural = ExecutionStateLevel
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for ExecutionStateLevel
impl PartialEq for ExecutionStateLevel
Source§impl Wire for ExecutionStateLevel
impl Wire for ExecutionStateLevel
Source§type Narrowed<'de> = ExecutionStateLevel
type Narrowed<'de> = ExecutionStateLevel
The narrowed 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 ExecutionStateLevel
impl Eq for ExecutionStateLevel
impl StructuralPartialEq for ExecutionStateLevel
Auto Trait Implementations§
impl Freeze for ExecutionStateLevel
impl RefUnwindSafe for ExecutionStateLevel
impl Send for ExecutionStateLevel
impl Sync for ExecutionStateLevel
impl Unpin for ExecutionStateLevel
impl UnsafeUnpin for ExecutionStateLevel
impl UnwindSafe for ExecutionStateLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]