pub enum TlsModelError {
Show 25 variants
EmptyField {
field: &'static str,
},
InvalidToken {
field: &'static str,
value: String,
},
ExternalTerminationDoesNotIssue,
ManualModeRequiresImportedCertificate,
WildcardRequiresDns01,
CertificateNotActive {
certificate_id: String,
},
RenewalAlreadyInProgress {
certificate_id: String,
},
UnknownCertificate {
certificate_id: String,
},
DuplicateHostnameBinding {
hostname: String,
certificate_id: String,
},
RenewalNotDue {
certificate_id: String,
renew_after: TlsInstant,
now: TlsInstant,
},
MissingReplacementCertificate {
certificate_id: String,
},
CertificateMaterialAlreadyAttached {
certificate_id: String,
},
MissingCertificateMaterial {
certificate_id: String,
},
UnsupportedEncryptedMaterialKey {
key_id: String,
},
InvalidCertificateMaterial {
field: &'static str,
reason: String,
},
CertificateMaterialEncryptionFailed {
reason: String,
},
CertificateMaterialDecryptionFailed {
reason: String,
},
CorruptControlPlaneState {
path: String,
reason: String,
},
ControlPlaneStatePersistence {
path: String,
reason: String,
},
CorruptDistributedControlPlaneState {
namespace: String,
reason: String,
},
DistributedControlPlaneStatePersistence {
namespace: String,
reason: String,
},
MissingProviderCredential {
provider: String,
},
UnsupportedProviderChallenge {
provider: String,
challenge: String,
},
InvalidConfiguration {
field: &'static str,
reason: String,
},
ProviderRequestFailed {
provider: String,
operation: &'static str,
reason: String,
},
}Variants§
EmptyField
InvalidToken
ExternalTerminationDoesNotIssue
ManualModeRequiresImportedCertificate
WildcardRequiresDns01
CertificateNotActive
RenewalAlreadyInProgress
UnknownCertificate
DuplicateHostnameBinding
RenewalNotDue
MissingReplacementCertificate
CertificateMaterialAlreadyAttached
MissingCertificateMaterial
UnsupportedEncryptedMaterialKey
InvalidCertificateMaterial
CertificateMaterialEncryptionFailed
CertificateMaterialDecryptionFailed
CorruptControlPlaneState
ControlPlaneStatePersistence
CorruptDistributedControlPlaneState
DistributedControlPlaneStatePersistence
MissingProviderCredential
UnsupportedProviderChallenge
InvalidConfiguration
ProviderRequestFailed
Trait Implementations§
Source§impl Clone for TlsModelError
impl Clone for TlsModelError
Source§fn clone(&self) -> TlsModelError
fn clone(&self) -> TlsModelError
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 TlsModelError
impl Debug for TlsModelError
Source§impl Display for TlsModelError
impl Display for TlsModelError
Source§impl Error for TlsModelError
impl Error for TlsModelError
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 PartialEq for TlsModelError
impl PartialEq for TlsModelError
impl Eq for TlsModelError
impl StructuralPartialEq for TlsModelError
Auto Trait Implementations§
impl Freeze for TlsModelError
impl RefUnwindSafe for TlsModelError
impl Send for TlsModelError
impl Sync for TlsModelError
impl Unpin for TlsModelError
impl UnsafeUnpin for TlsModelError
impl UnwindSafe for TlsModelError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.