pub enum AcmeAuthzError {
Expired,
Invalid,
Revoked,
Deactivated,
InvalidBase64Token,
InvalidTokenEntropy,
InvalidChallengeType,
}Variants§
Expired
This authorization is expired
Invalid
This authorization is invalid
Revoked
The server revoked this authorization
Deactivated
The client deactivated this authorization
InvalidBase64Token
The Challenge tokens must be base64 URL strings
InvalidTokenEntropy
The Challenge token must have at least 128 bits of entropy
InvalidChallengeType
The Challenge type must match the identifier type
Trait Implementations§
Source§impl Debug for AcmeAuthzError
impl Debug for AcmeAuthzError
Source§impl Display for AcmeAuthzError
impl Display for AcmeAuthzError
Source§impl Error for AcmeAuthzError
impl Error for AcmeAuthzError
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 From<AcmeAuthzError> for RustyAcmeError
impl From<AcmeAuthzError> for RustyAcmeError
Source§fn from(source: AcmeAuthzError) -> Self
fn from(source: AcmeAuthzError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AcmeAuthzError
impl RefUnwindSafe for AcmeAuthzError
impl Send for AcmeAuthzError
impl Sync for AcmeAuthzError
impl Unpin for AcmeAuthzError
impl UnwindSafe for AcmeAuthzError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more