Trait collective::cli::ConfigurableAppOpts

source ·
pub trait ConfigurableAppOpts<C: DeserializeOwned + Default + Serialize>: AppOpts {
    // Required method
    fn get_additional_config_paths(
        &self,
    ) -> Vec<(PathBuf, Option<ConfigFileFormat>)>;

    // Provided methods
    fn try_init_with_config() -> Result<(Self, C), CliError> { ... }
    fn init_with_config() -> (Self, C) { ... }
    fn get_config_file_format(&self) -> ConfigFileFormat { ... }
}

Required Methods§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§