pub trait OptionsSnapshot<T> {
    // Required method
    fn get(&self, name: Option<&str>) -> &T;
}
Expand description

Defines the behavior for a snapshot of configuration options.

Required Methods§

source

fn get(&self, name: Option<&str>) -> &T

Gets the configuration options with the specified name.

Arguments
  • name - The optional name of the options to retrieve

Implementors§