#[non_exhaustive]pub enum AccountInterrupted {
Stopped,
Transferred,
CredentialsSuperseded,
}Expand description
Why the account owner ended a request or a notification wait. This says
nothing about whether bytes were sent; check
NativeRequestNotSubmitted for that.
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.
Stopped
The account was stopped, shut down or reserved for logout. A background loop should end quietly.
Transferred
The credentials were moved out with quiesce_and_export. This client
can no longer be used.
CredentialsSuperseded
A renewal accepted newer credentials. Open a new notification connection, or repeat a request that was not submitted.
Implementations§
Trait Implementations§
Source§impl Clone for AccountInterrupted
impl Clone for AccountInterrupted
impl Copy for AccountInterrupted
Source§impl Debug for AccountInterrupted
impl Debug for AccountInterrupted
Source§impl Display for AccountInterrupted
impl Display for AccountInterrupted
impl Eq for AccountInterrupted
Source§impl Error for AccountInterrupted
impl Error for AccountInterrupted
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for AccountInterrupted
impl Hash for AccountInterrupted
Source§impl PartialEq for AccountInterrupted
impl PartialEq for AccountInterrupted
impl StructuralPartialEq for AccountInterrupted
Auto Trait Implementations§
impl Forget for AccountInterrupted
impl Freeze for AccountInterrupted
impl Move for AccountInterrupted
impl RefUnwindSafe for AccountInterrupted
impl Send for AccountInterrupted
impl Sync for AccountInterrupted
impl Unpin for AccountInterrupted
impl UnsafeUnpin for AccountInterrupted
impl UnwindSafe for AccountInterrupted
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