Enum bonsaidb::client::fabruic::error::CertificateError
pub enum CertificateError {
WebPki(Error),
X509(Err<X509Error>),
Dangling(Vec<u8, Global>),
Expired,
Domain,
}
Expand description
Error constructing Certificate
with
Certificate::from_der
.
Variants§
WebPki(Error)
Error
returned by [webpki
].
X509(Err<X509Error>)
Error
returned by [x509_parser
].
Dangling(Vec<u8, Global>)
Bytes passed contain uncorrelated bytes.
Expired
Certificate
has expired.
Domain
Certificate
is missing a domain name.
Trait Implementations§
§impl Clone for CertificateError
impl Clone for CertificateError
§fn clone(&self) -> CertificateError
fn clone(&self) -> CertificateError
Returns a copy 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 more§impl Debug for CertificateError
impl Debug for CertificateError
§impl Display for CertificateError
impl Display for CertificateError
§impl Error for CertificateError
impl Error for CertificateError
§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()
§impl PartialEq<CertificateError> for CertificateError
impl PartialEq<CertificateError> for CertificateError
§fn eq(&self, other: &CertificateError) -> bool
fn eq(&self, other: &CertificateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CertificateError
Auto Trait Implementations§
impl RefUnwindSafe for CertificateError
impl Send for CertificateError
impl Sync for CertificateError
impl Unpin for CertificateError
impl UnwindSafe for CertificateError
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