pub enum CredentialAttemptError {
ForeignState,
GenerationRejected,
StaleGeneration,
ReconfirmationNotRequired,
GenerationExhausted,
}Expand description
Credential-attempt lifecycle transition failure.
Variants§
ForeignState
The attempt belongs to another credential lifecycle.
GenerationRejected
Authentication rejection closed the current generation.
StaleGeneration
The supplied generation is no longer current.
ReconfirmationNotRequired
Explicit reconfirmation is valid only after authentication rejection.
GenerationExhausted
The bounded monotonic generation cannot advance without wrapping.
Trait Implementations§
Source§impl Clone for CredentialAttemptError
impl Clone for CredentialAttemptError
Source§fn clone(&self) -> CredentialAttemptError
fn clone(&self) -> CredentialAttemptError
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 moreimpl Copy for CredentialAttemptError
Source§impl Debug for CredentialAttemptError
impl Debug for CredentialAttemptError
Source§impl Display for CredentialAttemptError
impl Display for CredentialAttemptError
impl Eq for CredentialAttemptError
Source§impl Error for CredentialAttemptError
impl Error for CredentialAttemptError
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 PartialEq for CredentialAttemptError
impl PartialEq for CredentialAttemptError
impl StructuralPartialEq for CredentialAttemptError
Auto Trait Implementations§
impl Freeze for CredentialAttemptError
impl RefUnwindSafe for CredentialAttemptError
impl Send for CredentialAttemptError
impl Sync for CredentialAttemptError
impl Unpin for CredentialAttemptError
impl UnsafeUnpin for CredentialAttemptError
impl UnwindSafe for CredentialAttemptError
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