pub enum ThreadLifecycleState {
Live,
Idle,
}Expand description
One thread driver’s current liveness.
Variants§
Live
The driver spawned and is processing input or waiting on in-flight work.
Idle
The driver exited because no work is queued or expected. Active subscriptions may still respawn it when an event arrives.
Trait Implementations§
Source§impl Clone for ThreadLifecycleState
impl Clone for ThreadLifecycleState
Source§fn clone(&self) -> ThreadLifecycleState
fn clone(&self) -> ThreadLifecycleState
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 ThreadLifecycleState
Source§impl Debug for ThreadLifecycleState
impl Debug for ThreadLifecycleState
impl Eq for ThreadLifecycleState
Source§impl PartialEq for ThreadLifecycleState
impl PartialEq for ThreadLifecycleState
impl StructuralPartialEq for ThreadLifecycleState
Auto Trait Implementations§
impl Freeze for ThreadLifecycleState
impl RefUnwindSafe for ThreadLifecycleState
impl Send for ThreadLifecycleState
impl Sync for ThreadLifecycleState
impl Unpin for ThreadLifecycleState
impl UnsafeUnpin for ThreadLifecycleState
impl UnwindSafe for ThreadLifecycleState
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