Enum fault_log::RecoveryAction
source · pub enum RecoveryAction {
None,
TaskRestarted,
FaultCrateReplaced,
IterativelyCrateReplaced,
MultipleFaultRecovery,
}
Expand description
The different types of recovery procedures used for the observed fault
Variants§
None
No action taken on this fault.
TaskRestarted
Task restarted only. No crate replaced.
FaultCrateReplaced
Crate where fault is observed is replaced, and then task restarted.
IterativelyCrateReplaced
Different Crate than the crate where fault is observed is restrated. This option is taken when the same fault is observed multiple times.
MultipleFaultRecovery
This fault is handled as a recovery for different fault. Used when additional faults occur during unwinding.
Trait Implementations§
source§impl Clone for RecoveryAction
impl Clone for RecoveryAction
source§fn clone(&self) -> RecoveryAction
fn clone(&self) -> RecoveryAction
Returns a copy 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 RecoveryAction
impl Debug for RecoveryAction
source§impl PartialEq<RecoveryAction> for RecoveryAction
impl PartialEq<RecoveryAction> for RecoveryAction
source§fn eq(&self, other: &RecoveryAction) -> bool
fn eq(&self, other: &RecoveryAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecoveryAction
Auto Trait Implementations§
impl RefUnwindSafe for RecoveryAction
impl Send for RecoveryAction
impl Sync for RecoveryAction
impl Unpin for RecoveryAction
impl UnwindSafe for RecoveryAction
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