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

Parse options and return them

Implementers should use the die! macro to handle failure.

Get the path to a config file

This method is needed since Config::load is expected to be generic.

Implementors