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§
Sourcefn watch_paths(&self) -> Vec<&Path>
fn watch_paths(&self) -> Vec<&Path>
Get paths to certificate files for watching
Sourcefn watch_enabled(&self) -> bool
fn watch_enabled(&self) -> bool
Check if watching is enabled