#[non_exhaustive]pub enum ClientCertVerifierBuilderError {
NoRootAnchors,
InvalidCrl(CertRevocationListError),
}Expand description
One or more root trust anchors must be provided to create a ClientCertVerifierBuilder. If you wish to disable client authentication, then use WebPkiClientVerifier::no_client_auth instead of constructing a builder.
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 ClientCertVerifierBuilderError
impl Clone for ClientCertVerifierBuilderError
source§fn clone(&self) -> ClientCertVerifierBuilderError
fn clone(&self) -> ClientCertVerifierBuilderError
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 From<CertRevocationListError> for ClientCertVerifierBuilderError
impl From<CertRevocationListError> for ClientCertVerifierBuilderError
source§fn from(value: CertRevocationListError) -> Self
fn from(value: CertRevocationListError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ClientCertVerifierBuilderError
impl Send for ClientCertVerifierBuilderError
impl Sync for ClientCertVerifierBuilderError
impl Unpin for ClientCertVerifierBuilderError
impl !UnwindSafe for ClientCertVerifierBuilderError
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