pub enum ExecutorFaultReason {
IterationBudgetExceeded {
task_idx: u32,
took_ms: u32,
budget_ms: u32,
},
}Expand description
Why the executor transitioned to Faulted.
Variants§
IterationBudgetExceeded
A task’s execute() exceeded the executor-wide iteration budget.
task_idx is the internal task-table index; resolve to TaskId
via the executor’s task table.
Trait Implementations§
Source§impl Clone for ExecutorFaultReason
impl Clone for ExecutorFaultReason
Source§fn clone(&self) -> ExecutorFaultReason
fn clone(&self) -> ExecutorFaultReason
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 ExecutorFaultReason
impl Debug for ExecutorFaultReason
Source§impl PartialEq for ExecutorFaultReason
impl PartialEq for ExecutorFaultReason
Source§fn eq(&self, other: &ExecutorFaultReason) -> bool
fn eq(&self, other: &ExecutorFaultReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExecutorFaultReason
impl Eq for ExecutorFaultReason
impl StructuralPartialEq for ExecutorFaultReason
Auto Trait Implementations§
impl Freeze for ExecutorFaultReason
impl RefUnwindSafe for ExecutorFaultReason
impl Send for ExecutorFaultReason
impl Sync for ExecutorFaultReason
impl Unpin for ExecutorFaultReason
impl UnsafeUnpin for ExecutorFaultReason
impl UnwindSafe for ExecutorFaultReason
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