pub struct DangerousClientConfigBuilder {
pub cfg: ConfigBuilder<ClientConfig, WantsVerifier>,
}
Expand description
Accessor for dangerous configuration options.
Fields§
§cfg: ConfigBuilder<ClientConfig, WantsVerifier>
The underlying ClientConfigBuilder
Implementations§
Source§impl DangerousClientConfigBuilder
impl DangerousClientConfigBuilder
Sourcepub fn with_custom_certificate_verifier(
self,
verifier: Arc<dyn ServerCertVerifier>,
) -> ConfigBuilder<ClientConfig, WantsClientCert>
pub fn with_custom_certificate_verifier( self, verifier: Arc<dyn ServerCertVerifier>, ) -> ConfigBuilder<ClientConfig, WantsClientCert>
Set a custom certificate verifier.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DangerousClientConfigBuilder
impl !RefUnwindSafe for DangerousClientConfigBuilder
impl Send for DangerousClientConfigBuilder
impl Sync for DangerousClientConfigBuilder
impl Unpin for DangerousClientConfigBuilder
impl !UnwindSafe for DangerousClientConfigBuilder
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 160 bytes