pub enum DispatcherState {
Running,
ShuttingDown,
Shutdown,
Destroyed,
}Expand description
The lifecycle state of a dispatcher.
Variants§
Running
The dispatcher is running and accepting callbacks.
ShuttingDown
The dispatcher is currently shutting down.
Shutdown
The dispatcher has completed shutdown.
Destroyed
The dispatcher has been destroyed.
Trait Implementations§
Source§impl Clone for DispatcherState
impl Clone for DispatcherState
Source§fn clone(&self) -> DispatcherState
fn clone(&self) -> DispatcherState
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 DispatcherState
Source§impl Debug for DispatcherState
impl Debug for DispatcherState
impl Eq for DispatcherState
Source§impl PartialEq for DispatcherState
impl PartialEq for DispatcherState
impl StructuralPartialEq for DispatcherState
Auto Trait Implementations§
impl Freeze for DispatcherState
impl RefUnwindSafe for DispatcherState
impl Send for DispatcherState
impl Sync for DispatcherState
impl Unpin for DispatcherState
impl UnsafeUnpin for DispatcherState
impl UnwindSafe for DispatcherState
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