Struct rustls::client::builder::WantsTransparencyPolicyOrClientCert
source · pub struct WantsTransparencyPolicyOrClientCert {
cipher_suites: Vec<SupportedCipherSuite>,
kx_groups: Vec<&'static SupportedKxGroup>,
versions: EnabledVersions,
root_store: Arc<RootCertStore>,
}
Expand description
A config builder state where the caller needs to supply a certificate transparency policy or client certificate resolver.
In this state, the caller can optionally enable certificate transparency, or ignore CT and
invoke one of the methods related to client certificates (as in the WantsClientCert
state).
For more information, see the ConfigBuilder
documentation.
Fields§
§cipher_suites: Vec<SupportedCipherSuite>
§kx_groups: Vec<&'static SupportedKxGroup>
§versions: EnabledVersions
§root_store: Arc<RootCertStore>
Trait Implementations§
source§impl Clone for WantsTransparencyPolicyOrClientCert
impl Clone for WantsTransparencyPolicyOrClientCert
source§fn clone(&self) -> WantsTransparencyPolicyOrClientCert
fn clone(&self) -> WantsTransparencyPolicyOrClientCert
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 WantsTransparencyPolicyOrClientCert
impl !RefUnwindSafe for WantsTransparencyPolicyOrClientCert
impl Send for WantsTransparencyPolicyOrClientCert
impl Sync for WantsTransparencyPolicyOrClientCert
impl Unpin for WantsTransparencyPolicyOrClientCert
impl !UnwindSafe for WantsTransparencyPolicyOrClientCert
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)