#[non_exhaustive]pub enum AutoRecoveryOutcome {
Continued,
NotCrashed,
NothingToContinue,
GoalResumed,
AwaitingUser,
Refused,
Unknown(String),
}Expand description
The autoRecovery outcome (the amendment’s decision table). Open enum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Continued
The recovery turn re-made the interrupted request.
NotCrashed
The previous run ended cleanly, or the session was live here.
NothingToContinue
Nothing was in flight and no Goal was Active; the hold is released.
GoalResumed
A Goal was Active between turns and continues.
AwaitingUser
An answerable question is pending and keeps waiting.
Refused
Auto-recover did not proceed (it failed, or the resume opted out); the governing rules hold applies.
Unknown(String)
A value introduced by a newer server, kept verbatim so an older client can report it without failing the parse.
Implementations§
Trait Implementations§
Source§impl Clone for AutoRecoveryOutcome
impl Clone for AutoRecoveryOutcome
Source§impl Debug for AutoRecoveryOutcome
impl Debug for AutoRecoveryOutcome
Source§impl<'de> Deserialize<'de> for AutoRecoveryOutcome
impl<'de> Deserialize<'de> for AutoRecoveryOutcome
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AutoRecoveryOutcome
Source§impl PartialEq for AutoRecoveryOutcome
impl PartialEq for AutoRecoveryOutcome
Source§impl Serialize for AutoRecoveryOutcome
impl Serialize for AutoRecoveryOutcome
impl StructuralPartialEq for AutoRecoveryOutcome
Auto Trait Implementations§
impl Forget for AutoRecoveryOutcome
impl Freeze for AutoRecoveryOutcome
impl Move for AutoRecoveryOutcome
impl RefUnwindSafe for AutoRecoveryOutcome
impl Send for AutoRecoveryOutcome
impl Sync for AutoRecoveryOutcome
impl Unpin for AutoRecoveryOutcome
impl UnsafeUnpin for AutoRecoveryOutcome
impl UnwindSafe for AutoRecoveryOutcome
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