pub enum ProcessState {
Running,
Joined,
Failed,
}Expand description
Kernel-owned lifecycle state for a spawned agent process.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProcessState
impl Clone for ProcessState
Source§fn clone(&self) -> ProcessState
fn clone(&self) -> ProcessState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProcessState
Source§impl Debug for ProcessState
impl Debug for ProcessState
Source§impl<'de> Deserialize<'de> for ProcessState
impl<'de> Deserialize<'de> for ProcessState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcessState
Source§impl From<ProcessState> for TaskState
A successful join maps to Done(Completed); any other termination is Done(<reason>).
impl From<ProcessState> for TaskState
A successful join maps to Done(Completed); any other termination is Done(<reason>).
Source§fn from(state: ProcessState) -> Self
fn from(state: ProcessState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProcessState
impl PartialEq for ProcessState
Source§fn eq(&self, other: &ProcessState) -> bool
fn eq(&self, other: &ProcessState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessState
impl Serialize for ProcessState
impl StructuralPartialEq for ProcessState
Auto Trait Implementations§
impl Freeze for ProcessState
impl RefUnwindSafe for ProcessState
impl Send for ProcessState
impl Sync for ProcessState
impl Unpin for ProcessState
impl UnsafeUnpin for ProcessState
impl UnwindSafe for ProcessState
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