pub struct ExecutionState {
pub dependency_token: Option<Event>,
}Expand description
Holds the dependency token for the Execution State power element.
Fields§
§dependency_token: Option<Event>Trait Implementations§
Source§impl Debug for ExecutionState
impl Debug for ExecutionState
Source§impl Default for ExecutionState
impl Default for ExecutionState
Source§fn default() -> ExecutionState
fn default() -> ExecutionState
Returns the “default value” for a type. Read more
Source§impl<___E> Encode<ExecutionState<'static>, ___E> for ExecutionStatewhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<ExecutionState<'static>, ___E> for ExecutionStatewhere
___E: Encoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ExecutionState<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ExecutionState<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<ExecutionState<'de>> for ExecutionState
impl<'de> FromWire<ExecutionState<'de>> for ExecutionState
Source§fn from_wire(wire_: ExecutionState<'de>) -> Self
fn from_wire(wire_: ExecutionState<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for ExecutionState
impl PartialEq for ExecutionState
Source§fn eq(&self, other: &ExecutionState) -> bool
fn eq(&self, other: &ExecutionState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutionState
Auto Trait Implementations§
impl Freeze for ExecutionState
impl RefUnwindSafe for ExecutionState
impl Send for ExecutionState
impl Sync for ExecutionState
impl Unpin for ExecutionState
impl UnsafeUnpin for ExecutionState
impl UnwindSafe for ExecutionState
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
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§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]