pub enum Crash {
Failed,
Panicked,
}Expand description
How the fold crashed. The reason VALUE stays with the driver in both cases (heterogeneous error types and panic payloads are runtime plumbing — typed reasons are the homogeneous-fleet door, deferred); the fold receives the DOMAIN. Both variants classify as abnormal; the distinction is preserved for future policy (e.g. poison-message handling) and for trace truth — the death site knows which one happened, and the report must not collapse it.
Variants§
Failed
step returned Err — the behavior’s declared controlled crash.
Panicked
The fold panicked — an undeclared programmer bug.
Trait Implementations§
impl Copy for Crash
impl Eq for Crash
impl StructuralPartialEq for Crash
Auto Trait Implementations§
impl Freeze for Crash
impl RefUnwindSafe for Crash
impl Send for Crash
impl Sync for Crash
impl Unpin for Crash
impl UnsafeUnpin for Crash
impl UnwindSafe for Crash
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