pub enum RustyAcmeError {
Show 20 variants
JsonError(Error),
UrlError(ParseError),
JwtError(RustyJwtError),
X509CheckError(RustyX509CheckError),
OidError(Error),
DerError(Error),
PemError(PemError),
RawJwtError(Error),
SignatureError(Error),
ImplementationError,
NotSupported,
ClientImplementationError(&'static str),
SmallstepImplementationError(&'static str),
AccountError(AcmeAccountError),
OrderError(AcmeOrderError),
AuthzError(AcmeAuthzError),
ChallengeError(AcmeChallError),
FinalizeError(AcmeFinalizeError),
Utf8(Utf8Error),
InvalidCertificate(CertificateError),
}Expand description
All errors which crate::RustyAcme might throw
Variants§
JsonError(Error)
Invalid Json representation
UrlError(ParseError)
Invalid URL
JwtError(RustyJwtError)
Error while building a JWT
X509CheckError(RustyX509CheckError)
Error related to various X509 processing facilities/tools/checks
OidError(Error)
Failed mapping an ASN.1 ObjectIdentifier
DerError(Error)
Failed mapping a DER certificate
PemError(PemError)
Error while parsing a PEM document
RawJwtError(Error)
Error while handling a JWT
SignatureError(Error)
Error with hand-rolled signature
ImplementationError
We have done something terribly wrong
NotSupported
Mostly related to WASM support
ClientImplementationError(&'static str)
This library has been used the wrong way by users
SmallstepImplementationError(&'static str)
Smallstep ACME server is not correctly implemented
AccountError(AcmeAccountError)
Error while processing an account
OrderError(AcmeOrderError)
Error while processing an order
AuthzError(AcmeAuthzError)
Error while processing an authorization
ChallengeError(AcmeChallError)
Error while validating a challenge
FinalizeError(AcmeFinalizeError)
Error while finalizing an order
Utf8(Utf8Error)
UTF-8 parsing error
InvalidCertificate(CertificateError)
Invalid/incomplete certificate
Trait Implementations§
Source§impl Debug for RustyAcmeError
impl Debug for RustyAcmeError
Source§impl Display for RustyAcmeError
impl Display for RustyAcmeError
Source§impl Error for RustyAcmeError
impl Error for RustyAcmeError
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<AcmeChallError> for RustyAcmeError
impl From<AcmeChallError> for RustyAcmeError
Source§fn from(source: AcmeChallError) -> Self
fn from(source: AcmeChallError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for RustyAcmeError
impl From<Error> for RustyAcmeError
Source§impl From<Error> for RustyAcmeError
impl From<Error> for RustyAcmeError
Source§impl From<Error> for RustyAcmeError
impl From<Error> for RustyAcmeError
Source§impl From<Error> for RustyAcmeError
impl From<Error> for RustyAcmeError
Source§impl From<Error> for RustyAcmeError
impl From<Error> for RustyAcmeError
Source§impl From<ParseError> for RustyAcmeError
impl From<ParseError> for RustyAcmeError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<PemError> for RustyAcmeError
impl From<PemError> for RustyAcmeError
Source§impl From<RustyAcmeError> for E2eIdentityError
impl From<RustyAcmeError> for E2eIdentityError
Source§fn from(source: RustyAcmeError) -> Self
fn from(source: RustyAcmeError) -> Self
Converts to this type from the input type.
Source§impl From<RustyJwtError> for RustyAcmeError
impl From<RustyJwtError> for RustyAcmeError
Source§fn from(source: RustyJwtError) -> Self
fn from(source: RustyJwtError) -> Self
Converts to this type from the input type.
Source§impl From<RustyX509CheckError> for RustyAcmeError
impl From<RustyX509CheckError> for RustyAcmeError
Source§fn from(source: RustyX509CheckError) -> Self
fn from(source: RustyX509CheckError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RustyAcmeError
impl !RefUnwindSafe for RustyAcmeError
impl Send for RustyAcmeError
impl Sync for RustyAcmeError
impl Unpin for RustyAcmeError
impl !UnwindSafe for RustyAcmeError
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