Trait system_service::Options
[−]
[src]
pub trait Options: LogOptions { fn load() -> Self; fn config_path<'a>(&'a self) -> Cow<'a, Path>; }
Trait required for loading CLI options
Required Methods
fn load() -> Self
Parse options and return them
Implementers should use the die!
macro to handle failure.
fn config_path<'a>(&'a self) -> Cow<'a, Path>
Get the path to a config file
This method is needed since Config::load is expected to be generic.