pub enum ExecutorFaultState {
Running,
Faulted {
reason: ExecutorFaultReason,
since_ms: u32,
},
}Expand description
Executor-wide fault state.
Variants§
Running
Executor is healthy; all tasks dispatch normally.
Faulted
Executor-wide budget breached. All tasks halt (or route to their handlers) until cleared.
Fields
§
reason: ExecutorFaultReasonWhy the executor transitioned to Faulted.
Trait Implementations§
Source§impl Clone for ExecutorFaultState
impl Clone for ExecutorFaultState
Source§fn clone(&self) -> ExecutorFaultState
fn clone(&self) -> ExecutorFaultState
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 moreSource§impl Debug for ExecutorFaultState
impl Debug for ExecutorFaultState
Source§impl PartialEq for ExecutorFaultState
impl PartialEq for ExecutorFaultState
Source§fn eq(&self, other: &ExecutorFaultState) -> bool
fn eq(&self, other: &ExecutorFaultState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExecutorFaultState
impl Eq for ExecutorFaultState
impl StructuralPartialEq for ExecutorFaultState
Auto Trait Implementations§
impl Freeze for ExecutorFaultState
impl RefUnwindSafe for ExecutorFaultState
impl Send for ExecutorFaultState
impl Sync for ExecutorFaultState
impl Unpin for ExecutorFaultState
impl UnsafeUnpin for ExecutorFaultState
impl UnwindSafe for ExecutorFaultState
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