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