TlsConfigLoader

Trait TlsConfigLoader 

Source
pub trait TlsConfigLoader<T> {
    type Error;

    // Required methods
    fn load(&self) -> StdResult<Option<T>, Self::Error>;
    fn watch_paths(&self) -> Vec<&Path>;
    fn watch_enabled(&self) -> bool;
}
Expand description

A trait for loading TLS configuration from an option type

Required Associated Types§

Required Methods§

Source

fn load(&self) -> StdResult<Option<T>, Self::Error>

Load the TLS configuration

Source

fn watch_paths(&self) -> Vec<&Path>

Get paths to certificate files for watching

Source

fn watch_enabled(&self) -> bool

Check if watching is enabled

Implementors§