Skip to main content

TlsConfig

Type Alias TlsConfig 

Source
pub type TlsConfig = Arc<RwLock<Arc<ServerConfig>>>;
Expand description

A TLS server config that can be swapped while serving (certificate rotation); each connection takes the one current when it arrives.

Aliased Typeยง

pub struct TlsConfig { /* private fields */ }