pub enum ExecutorState {
Initializing,
Ready,
Busy,
Error,
Shutdown,
}Expand description
Executor state
Variants§
Initializing
Executor is initializing
Ready
Executor is ready to accept requests
Busy
Executor is processing requests
Error
Executor encountered an error
Shutdown
Executor is shutting down
Trait Implementations§
Source§impl Clone for ExecutorState
impl Clone for ExecutorState
Source§fn clone(&self) -> ExecutorState
fn clone(&self) -> ExecutorState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutorState
impl Debug for ExecutorState
Source§impl<'de> Deserialize<'de> for ExecutorState
impl<'de> Deserialize<'de> for ExecutorState
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
Source§impl PartialEq for ExecutorState
impl PartialEq for ExecutorState
Source§impl Serialize for ExecutorState
impl Serialize for ExecutorState
impl Copy for ExecutorState
impl Eq for ExecutorState
impl StructuralPartialEq for ExecutorState
Auto Trait Implementations§
impl Freeze for ExecutorState
impl RefUnwindSafe for ExecutorState
impl Send for ExecutorState
impl Sync for ExecutorState
impl Unpin for ExecutorState
impl UnsafeUnpin for ExecutorState
impl UnwindSafe for ExecutorState
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