pub enum RuntimeTaskKindV1 {
Service,
Worker,
ScheduledDriver,
ScheduledRun,
BlockingReaper,
Shutdown,
Other,
}Expand description
Identifies a bounded category of runtime-owned task.
Variants§
Service
A long-lived service task.
Worker
A background worker task.
ScheduledDriver
A task that drives a scheduled workload.
ScheduledRun
One execution of a scheduled workload.
BlockingReaper
A task that reaps completed blocking work.
Shutdown
A task that coordinates shutdown.
Other
A task kind without a dedicated bounded identifier.
Trait Implementations§
Source§impl Clone for RuntimeTaskKindV1
impl Clone for RuntimeTaskKindV1
impl Copy for RuntimeTaskKindV1
Source§impl Debug for RuntimeTaskKindV1
impl Debug for RuntimeTaskKindV1
Source§impl<'de> Deserialize<'de> for RuntimeTaskKindV1
impl<'de> Deserialize<'de> for RuntimeTaskKindV1
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 RuntimeTaskKindV1
Source§impl PartialEq for RuntimeTaskKindV1
impl PartialEq for RuntimeTaskKindV1
Source§impl Serialize for RuntimeTaskKindV1
impl Serialize for RuntimeTaskKindV1
impl StructuralPartialEq for RuntimeTaskKindV1
Auto Trait Implementations§
impl Freeze for RuntimeTaskKindV1
impl RefUnwindSafe for RuntimeTaskKindV1
impl Send for RuntimeTaskKindV1
impl Sync for RuntimeTaskKindV1
impl Unpin for RuntimeTaskKindV1
impl UnsafeUnpin for RuntimeTaskKindV1
impl UnwindSafe for RuntimeTaskKindV1
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