#[non_exhaustive]pub enum VerifierBuilderError {
NoRootAnchors,
InvalidCrl(CertRevocationListError),
}
Expand description
An error that can occur when building a certificate verifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoRootAnchors
No root trust anchors were provided.
InvalidCrl(CertRevocationListError)
A provided CRL could not be parsed.
Trait Implementations§
Source§impl Clone for VerifierBuilderError
impl Clone for VerifierBuilderError
Source§fn clone(&self) -> VerifierBuilderError
fn clone(&self) -> VerifierBuilderError
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 moreSource§impl Debug for VerifierBuilderError
impl Debug for VerifierBuilderError
Source§impl Display for VerifierBuilderError
impl Display for VerifierBuilderError
Source§impl Error for VerifierBuilderError
Available on crate feature std
only.
impl Error for VerifierBuilderError
Available on crate feature
std
only.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 From<CertRevocationListError> for VerifierBuilderError
impl From<CertRevocationListError> for VerifierBuilderError
Source§fn from(value: CertRevocationListError) -> Self
fn from(value: CertRevocationListError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VerifierBuilderError
impl !RefUnwindSafe for VerifierBuilderError
impl Send for VerifierBuilderError
impl Sync for VerifierBuilderError
impl Unpin for VerifierBuilderError
impl !UnwindSafe for VerifierBuilderError
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
NoRootAnchors
: 0 bytesInvalidCrl
: 24 bytes