Skip to main content

ConfigSource

Trait ConfigSource 

Source
pub trait ConfigSource: Send + Sync {
    // Required method
    fn layers(&self) -> Vec<ConfigLayer>;
}
Expand description

Where the settings layers come from.

Required Methods§

Source

fn layers(&self) -> Vec<ConfigLayer>

Every layer this source has, lowest priority first.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§