#[non_exhaustive]pub enum Recovery {
Wait(Option<Duration>),
Reauthenticate,
Permanent,
Unknown,
}Expand description
What a caller can do about an error.
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.
Wait(Option<Duration>)
Send the same call again after this wait, or after a wait of the caller’s choosing when the service named none.
Reauthenticate
Sign in again, or supply a different key.
Permanent
Nothing about sending again will change the answer.
Unknown
The error does not say.
Trait Implementations§
impl Copy for Recovery
impl Eq for Recovery
impl StructuralPartialEq for Recovery
Auto Trait Implementations§
impl Forget for Recovery
impl Freeze for Recovery
impl Move for Recovery
impl RefUnwindSafe for Recovery
impl Send for Recovery
impl Sync for Recovery
impl Unpin for Recovery
impl UnsafeUnpin for Recovery
impl UnwindSafe for Recovery
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