Trait options::OptionsSnapshot
source · pub trait OptionsSnapshot<T> {
// Required method
fn get(&self, name: Option<&str>) -> &T;
}Expand description
Defines the behavior for a snapshot of configuration options.
pub trait OptionsSnapshot<T> {
// Required method
fn get(&self, name: Option<&str>) -> &T;
}Defines the behavior for a snapshot of configuration options.