[−][src]Trait abscissa::Configurable
Command type with which a configuration file is associated
Provided methods
fn config_path(&self) -> Option<PathBuf>
Path to the command's configuration file. Returns an error by default.
fn load_config_file<P: AsRef<AbsPath>>(
&self,
path: &P
) -> Result<C, FrameworkError>
&self,
path: &P
) -> Result<C, FrameworkError>
Load the configuration for this command
fn preprocess_config(&self, config: C) -> Result<C, FrameworkError>
Process the configuration after it has been loaded, potentially modifying it or returning an error if options are incompatible
Implementors
impl<Cfg, Cmd> Configurable<Cfg> for EntryPoint<Cmd> where
Cmd: Runnable + Command,
Cfg: Config,
[src]
Cmd: Runnable + Command,
Cfg: Config,
fn config_path(&self) -> Option<PathBuf>
[src]
Path to the command's configuration file