rustls_platform_verifier

Trait ConfigVerifierExt

Source
pub trait ConfigVerifierExt {
    // Required method
    fn with_platform_verifier() -> ClientConfig;
}
Expand description

Extension trait to help build a ClientConfig with the platform verifier.

Required Methods§

Source

fn with_platform_verifier() -> ClientConfig

Build a ClientConfig with the platform verifier and the default CryptoProvider.

use rustls::ClientConfig;
use rustls_platform_verifier::ConfigVerifierExt;
let config = ClientConfig::with_platform_verifier();

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ConfigVerifierExt for ClientConfig

Implementors§