pub enum RecoveryDecision {
Observe,
RequestDrain,
TerminateNamed,
Blocked(&'static str),
}Expand description
The only outcomes the watchdog may act on.
Variants§
Trait Implementations§
Source§impl Clone for RecoveryDecision
impl Clone for RecoveryDecision
Source§fn clone(&self) -> RecoveryDecision
fn clone(&self) -> RecoveryDecision
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 RecoveryDecision
impl Debug for RecoveryDecision
impl Eq for RecoveryDecision
Source§impl PartialEq for RecoveryDecision
impl PartialEq for RecoveryDecision
impl StructuralPartialEq for RecoveryDecision
Auto Trait Implementations§
impl Freeze for RecoveryDecision
impl RefUnwindSafe for RecoveryDecision
impl Send for RecoveryDecision
impl Sync for RecoveryDecision
impl Unpin for RecoveryDecision
impl UnsafeUnpin for RecoveryDecision
impl UnwindSafe for RecoveryDecision
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