Skip to main content

client_config

Function client_config 

Source
pub fn client_config(pin: Option<TlsPin>) -> Result<ClientConfig, Error>
Expand description

The TLS configuration for a server with pin, or without one.

§Errors

When the system’s trust store cannot be used.