pub enum CertErrorwhere
Self: Send + Sync,{
UntrustedCert,
NoSubjectAltNames,
DecodeError,
ParseError,
HexError(FromHexError),
TimeError,
PemError(PEMError),
X509Error,
NoCertGiven,
}
Expand description
Wrapping type to record the specific error that occurred while validating the TLS Cert.
Variants§
UntrustedCert
NoSubjectAltNames
DecodeError
ParseError
HexError(FromHexError)
TimeError
PemError(PEMError)
X509Error
NoCertGiven
Trait Implementations§
source§impl Error for CertErrorwhere
Self: Send + Sync,
impl Error for CertErrorwhere Self: Send + Sync,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl !RefUnwindSafe for CertError
impl Send for CertError
impl Sync for CertError
impl Unpin for CertError
impl !UnwindSafe for CertError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§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