pub enum FiredAction {
Steer {
text: String,
},
BackOff {
until_ms: u64,
code: String,
subject: String,
},
Switch {
to: ServerLabel,
code: String,
subject: String,
},
Freeze {
reason: String,
},
}Expand description
What the watchdog did, in the word the line carries.
Variants§
Steer
The model was told it is repeating itself.
BackOff
The same call will be made again, no earlier than until_ms,
because of the failure whose stable code and subject are named
here.
Switch
The same call goes out at once on another account of the
provider, because of the failure whose stable code and subject are
named here (crates/kernel/spec/AccountRecovery.lean §8-86).
Freeze
The run was frozen.
Trait Implementations§
Source§impl Clone for FiredAction
impl Clone for FiredAction
Source§impl Debug for FiredAction
impl Debug for FiredAction
Source§impl<'de> Deserialize<'de> for FiredAction
impl<'de> Deserialize<'de> for FiredAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FiredAction
Source§impl PartialEq for FiredAction
impl PartialEq for FiredAction
Source§impl Serialize for FiredAction
impl Serialize for FiredAction
impl StructuralPartialEq for FiredAction
Auto Trait Implementations§
impl Freeze for FiredAction
impl RefUnwindSafe for FiredAction
impl Send for FiredAction
impl Sync for FiredAction
impl Unpin for FiredAction
impl UnsafeUnpin for FiredAction
impl UnwindSafe for FiredAction
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