pub enum TLSOptionClientAuthClientAuthType {
NoClientCert,
RequestClientCert,
RequireAnyClientCert,
VerifyClientCertIfGiven,
RequireAndVerifyClientCert,
}Expand description
ClientAuth defines the server’s policy for TLS Client Authentication.
Variants§
NoClientCert
RequestClientCert
RequireAnyClientCert
VerifyClientCertIfGiven
RequireAndVerifyClientCert
Trait Implementations§
Source§impl Clone for TLSOptionClientAuthClientAuthType
impl Clone for TLSOptionClientAuthClientAuthType
Source§fn clone(&self) -> TLSOptionClientAuthClientAuthType
fn clone(&self) -> TLSOptionClientAuthClientAuthType
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<'de> Deserialize<'de> for TLSOptionClientAuthClientAuthType
impl<'de> Deserialize<'de> for TLSOptionClientAuthClientAuthType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TLSOptionClientAuthClientAuthType
impl PartialEq for TLSOptionClientAuthClientAuthType
Source§fn eq(&self, other: &TLSOptionClientAuthClientAuthType) -> bool
fn eq(&self, other: &TLSOptionClientAuthClientAuthType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TLSOptionClientAuthClientAuthType
Auto Trait Implementations§
impl Freeze for TLSOptionClientAuthClientAuthType
impl RefUnwindSafe for TLSOptionClientAuthClientAuthType
impl Send for TLSOptionClientAuthClientAuthType
impl Sync for TLSOptionClientAuthClientAuthType
impl Unpin for TLSOptionClientAuthClientAuthType
impl UnwindSafe for TLSOptionClientAuthClientAuthType
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