pub enum ExecutorState {
Unloaded,
Resident,
Busy,
Poisoned,
Closed,
}Expand description
Mechanical state of one worker-local executor.
Variants§
Unloaded
No backend state is resident.
Resident
Exact artifacts are resident and no operation is running.
Busy
One synchronous operation is running.
Poisoned
Native or cleanup state is uncertain and must not be reused.
Closed
Cleanup completed and the executor cannot be reused.
Trait Implementations§
Source§impl Clone for ExecutorState
impl Clone for ExecutorState
impl Copy for ExecutorState
Source§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
impl Eq for ExecutorState
Source§impl PartialEq for ExecutorState
impl PartialEq for ExecutorState
Source§impl Serialize for ExecutorState
impl Serialize 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