pub enum TaskKind {
Service,
Worker,
ScheduledDriver,
ScheduledRun,
BlockingReaper,
Shutdown,
Other,
}Expand description
Identifies the task kind state.
Variants§
Service
Represents the service case.
Worker
Represents the worker case.
ScheduledDriver
Represents the scheduled driver case.
ScheduledRun
Represents the scheduled run case.
BlockingReaper
Represents the blocking reaper case.
Shutdown
Represents the shutdown case.
Other
Represents the other case.
Trait Implementations§
impl Copy for TaskKind
impl Eq for TaskKind
impl StructuralPartialEq for TaskKind
Auto Trait Implementations§
impl Freeze for TaskKind
impl RefUnwindSafe for TaskKind
impl Send for TaskKind
impl Sync for TaskKind
impl Unpin for TaskKind
impl UnsafeUnpin for TaskKind
impl UnwindSafe for TaskKind
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