pub struct ClientAuthConfig {
pub ca_certs: Vec<String>,
pub required: bool,
}Expand description
mTLS (mutual TLS) client certificate verification configuration.
Fields§
§ca_certs: Vec<String>Paths to CA PEM files used to verify client certificates.
required: boolIf true, connections without a valid client certificate are rejected. If false, client certificates are requested but not required.
Trait Implementations§
Source§impl Clone for ClientAuthConfig
impl Clone for ClientAuthConfig
Source§fn clone(&self) -> ClientAuthConfig
fn clone(&self) -> ClientAuthConfig
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 ClientAuthConfig
impl Debug for ClientAuthConfig
Auto Trait Implementations§
impl Freeze for ClientAuthConfig
impl RefUnwindSafe for ClientAuthConfig
impl Send for ClientAuthConfig
impl Sync for ClientAuthConfig
impl Unpin for ClientAuthConfig
impl UnsafeUnpin for ClientAuthConfig
impl UnwindSafe for ClientAuthConfig
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