1 2 3 4 5 6 7 8 9
/// Defines the behavior for a snapshot of configuration options.
pub trait OptionsSnapshot<T> {
/// Gets the configuration options with the specified name.
///
/// # Arguments
///
/// * `name` - The optional name of the options to retrieve
fn get(&self, name: Option<&str>) -> &T;
}