pub enum ClientAuthType {
NoClientCert = 0,
RequestClientCert = 1,
RequireAnyClientCert = 2,
VerifyClientCertIfGiven = 3,
RequireAndVerifyClientCert = 4,
}Expand description
ClientAuthType declares the policy the server will follow for TLS Client Authentication.
Variants§
NoClientCert = 0
RequestClientCert = 1
RequireAnyClientCert = 2
VerifyClientCertIfGiven = 3
RequireAndVerifyClientCert = 4
Trait Implementations§
Source§impl Clone for ClientAuthType
impl Clone for ClientAuthType
Source§fn clone(&self) -> ClientAuthType
fn clone(&self) -> ClientAuthType
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 ClientAuthType
impl Debug for ClientAuthType
Source§impl Default for ClientAuthType
impl Default for ClientAuthType
Source§fn default() -> ClientAuthType
fn default() -> ClientAuthType
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClientAuthType
impl PartialEq for ClientAuthType
impl Copy for ClientAuthType
impl Eq for ClientAuthType
impl StructuralPartialEq for ClientAuthType
Auto Trait Implementations§
impl Freeze for ClientAuthType
impl RefUnwindSafe for ClientAuthType
impl Send for ClientAuthType
impl Sync for ClientAuthType
impl Unpin for ClientAuthType
impl UnwindSafe for ClientAuthType
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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