pub enum RuntimeLifecycleStateV1 {
Open,
Closing,
Closed,
ShutdownCompleted,
Poisoned,
}Expand description
Describes the lifecycle state of the root task group.
Variants§
Open
The task group accepts new tasks and child groups.
Closing
Shutdown has started and new work is rejected.
Closed
The task group is closed and its owned work is draining.
ShutdownCompleted
Shutdown completed and all bounded cleanup attempts have finished.
Poisoned
The lifecycle state could not be mapped to a supported value.
Trait Implementations§
Source§impl Clone for RuntimeLifecycleStateV1
impl Clone for RuntimeLifecycleStateV1
impl Copy for RuntimeLifecycleStateV1
Source§impl Debug for RuntimeLifecycleStateV1
impl Debug for RuntimeLifecycleStateV1
Source§impl<'de> Deserialize<'de> for RuntimeLifecycleStateV1
impl<'de> Deserialize<'de> for RuntimeLifecycleStateV1
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 RuntimeLifecycleStateV1
Source§impl PartialEq for RuntimeLifecycleStateV1
impl PartialEq for RuntimeLifecycleStateV1
Source§impl Serialize for RuntimeLifecycleStateV1
impl Serialize for RuntimeLifecycleStateV1
impl StructuralPartialEq for RuntimeLifecycleStateV1
Auto Trait Implementations§
impl Freeze for RuntimeLifecycleStateV1
impl RefUnwindSafe for RuntimeLifecycleStateV1
impl Send for RuntimeLifecycleStateV1
impl Sync for RuntimeLifecycleStateV1
impl Unpin for RuntimeLifecycleStateV1
impl UnsafeUnpin for RuntimeLifecycleStateV1
impl UnwindSafe for RuntimeLifecycleStateV1
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