pub enum CertmeshError {
Show 22 variants
CaNotInitialized,
CaLocked,
InvalidAuth,
Forbidden(String),
InvalidPayload(String),
Conflict(String),
RateLimited {
remaining_secs: u64,
},
EnrollmentClosed,
AlreadyEnrolled(String),
NotFound(String),
Revoked(String),
Crypto(String),
Certificate(String),
Io(Error),
Internal(String),
BackupInvalid(String),
PromotionFailed(String),
RenewalFailed {
hostname: String,
reason: String,
},
NoSlotFound(String),
ApprovalDenied,
ApprovalTimeout,
ApprovalUnavailable,
}Variants§
CaNotInitialized
CaLocked
InvalidAuth
Forbidden(String)
InvalidPayload(String)
Conflict(String)
RateLimited
EnrollmentClosed
AlreadyEnrolled(String)
NotFound(String)
Revoked(String)
Crypto(String)
Certificate(String)
Io(Error)
Internal(String)
BackupInvalid(String)
PromotionFailed(String)
RenewalFailed
NoSlotFound(String)
ApprovalDenied
ApprovalTimeout
Trait Implementations§
Source§impl Debug for CertmeshError
impl Debug for CertmeshError
Source§impl Display for CertmeshError
impl Display for CertmeshError
Source§impl Error for CertmeshError
impl Error for CertmeshError
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<&CertmeshError> for ErrorCode
impl From<&CertmeshError> for ErrorCode
Source§fn from(e: &CertmeshError) -> Self
fn from(e: &CertmeshError) -> Self
Converts to this type from the input type.
Source§impl From<AuthError> for CertmeshError
impl From<AuthError> for CertmeshError
Source§impl From<CryptoError> for CertmeshError
impl From<CryptoError> for CertmeshError
Source§fn from(e: CryptoError) -> Self
fn from(e: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CertmeshError
impl From<Error> for CertmeshError
Source§impl From<VaultError> for CertmeshError
impl From<VaultError> for CertmeshError
Source§fn from(e: VaultError) -> Self
fn from(e: VaultError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CertmeshError
impl !UnwindSafe for CertmeshError
impl Freeze for CertmeshError
impl Send for CertmeshError
impl Sync for CertmeshError
impl Unpin for CertmeshError
impl UnsafeUnpin for CertmeshError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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