pub trait OptionsFactory<T> {
    fn create(&self, name: Option<&str>) -> Result<T, ValidateOptionsResult>;
}
Expand description

Defines the behavior of an object that creates configuration options.

Required Methods

Creates and returns new configuration options.

Arguments
  • name - The optional name of the configuration options to create

Implementors