pub enum AuthenticatorError {
EmptyChain,
SignerExpected {
position: usize,
found: String,
},
EphemeralExpected {
position: usize,
found: String,
},
SignedEntityExpected {
position: usize,
found: String,
},
SignedEntityMissing,
ValidationError {
position: usize,
kind: String,
message: String,
},
UnexpectedSigner {
position: usize,
expected: Address,
found: Address,
},
UnexpectedLastAuthority {
position: usize,
expected: String,
found: String,
},
ExpiredEntity {
position: usize,
kind: String,
},
}
Variants§
EmptyChain
SignerExpected
EphemeralExpected
SignedEntityExpected
SignedEntityMissing
ValidationError
UnexpectedSigner
UnexpectedLastAuthority
ExpiredEntity
Trait Implementations§
source§impl Debug for AuthenticatorError
impl Debug for AuthenticatorError
source§impl Display for AuthenticatorError
impl Display for AuthenticatorError
source§impl Error for AuthenticatorError
impl Error for AuthenticatorError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 AuthenticatorError
impl PartialEq for AuthenticatorError
source§fn eq(&self, other: &AuthenticatorError) -> bool
fn eq(&self, other: &AuthenticatorError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthenticatorError
Auto Trait Implementations§
impl RefUnwindSafe for AuthenticatorError
impl Send for AuthenticatorError
impl Sync for AuthenticatorError
impl Unpin for AuthenticatorError
impl UnwindSafe for AuthenticatorError
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