Skip to main content

SharedTlsConfig

Type Alias SharedTlsConfig 

Source
pub type SharedTlsConfig = Arc<ArcSwap<ServerConfig>>;
Expand description

A live TLS ServerConfig that can be atomically swapped for cert rotation. New connections read the current config; in-flight ones are unaffected.

Aliased Typeยง

pub struct SharedTlsConfig { /* private fields */ }