Trait native_tls::backend::schannel::TlsConnectorBuilderExt [] [src]

pub trait TlsConnectorBuilderExt {
    fn verify_callback<F>(&mut self, callback: F)
    where
        F: Fn(CertValidationResult) -> Result<()> + 'static + Send + Sync
; }

SChannel-specific extensions to TlsConnectorBuilder.

Required Methods

Sets a callback function which decides if the server's certificate chain is to be trusted.

Implementors