pub enum IdentityAuthedRequestError {
CommandMismatch,
Expired,
InvalidTimestamp,
Unauthorized(Error),
}
Expand description
An identity authenticated request verification error.
Variants§
CommandMismatch
Not the expected command.
Expired
An expired request i.e initiated too far in the past.
InvalidTimestamp
A request with an invalid timestamp i.e a timestamp too far in the future.
A request with either an invalid signature or an unauthorized signer.
Trait Implementations§
Source§impl Clone for IdentityAuthedRequestError
impl Clone for IdentityAuthedRequestError
Source§fn clone(&self) -> IdentityAuthedRequestError
fn clone(&self) -> IdentityAuthedRequestError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IdentityAuthedRequestError
impl Debug for IdentityAuthedRequestError
Source§impl From<CryptoError> for IdentityAuthedRequestError
impl From<CryptoError> for IdentityAuthedRequestError
Source§fn from(error: CryptoError) -> Self
fn from(error: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for IdentityAuthedRequestError
impl From<Error> for IdentityAuthedRequestError
impl Copy for IdentityAuthedRequestError
impl Eq for IdentityAuthedRequestError
impl StructuralPartialEq for IdentityAuthedRequestError
Auto Trait Implementations§
impl Freeze for IdentityAuthedRequestError
impl RefUnwindSafe for IdentityAuthedRequestError
impl Send for IdentityAuthedRequestError
impl Sync for IdentityAuthedRequestError
impl Unpin for IdentityAuthedRequestError
impl UnwindSafe for IdentityAuthedRequestError
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