pub enum CredentialUpdateError {
StateUnavailable,
GenerationExhausted,
}Expand description
Validated token rotation failure.
Variants§
The credential state could not be changed.
GenerationExhausted
The monotonic credential generation cannot advance.
Trait Implementations§
Source§impl Clone for CredentialUpdateError
impl Clone for CredentialUpdateError
Source§fn clone(&self) -> CredentialUpdateError
fn clone(&self) -> CredentialUpdateError
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 CredentialUpdateError
Source§impl Debug for CredentialUpdateError
impl Debug for CredentialUpdateError
Source§impl Display for CredentialUpdateError
impl Display for CredentialUpdateError
impl Eq for CredentialUpdateError
Source§impl Error for CredentialUpdateError
impl Error for CredentialUpdateError
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 CredentialUpdateError
impl PartialEq for CredentialUpdateError
impl StructuralPartialEq for CredentialUpdateError
Auto Trait Implementations§
impl Freeze for CredentialUpdateError
impl RefUnwindSafe for CredentialUpdateError
impl Send for CredentialUpdateError
impl Sync for CredentialUpdateError
impl Unpin for CredentialUpdateError
impl UnsafeUnpin for CredentialUpdateError
impl UnwindSafe for CredentialUpdateError
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