Struct rustls::client::WantsClientCert
source · pub struct WantsClientCert {
cipher_suites: Vec<SupportedCipherSuite>,
kx_groups: Vec<&'static SupportedKxGroup>,
versions: EnabledVersions,
verifier: Arc<dyn ServerCertVerifier>,
}
Expand description
A config builder state where the caller needs to supply whether and how to provide a client certificate.
For more information, see the ConfigBuilder
documentation.
Fields§
§cipher_suites: Vec<SupportedCipherSuite>
§kx_groups: Vec<&'static SupportedKxGroup>
§versions: EnabledVersions
§verifier: Arc<dyn ServerCertVerifier>
Trait Implementations§
source§impl Clone for WantsClientCert
impl Clone for WantsClientCert
source§fn clone(&self) -> WantsClientCert
fn clone(&self) -> WantsClientCert
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 moreAuto Trait Implementations§
impl Freeze for WantsClientCert
impl !RefUnwindSafe for WantsClientCert
impl Send for WantsClientCert
impl Sync for WantsClientCert
impl Unpin for WantsClientCert
impl !UnwindSafe for WantsClientCert
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