Struct libutils::CmdlineOpts
[−]
[src]
pub struct CmdlineOpts { pub stderr_level: Level, pub syslog_level: Level, pub guts: Option<PathBuf>, pub downstream: PathBuf, }
The parsed command line options.
This holds information that is provided on the command line.
Note that we may decide to move some of these options into a configuration file.
Fields
stderr_level: Level
Desired log level on stderr.
syslog_level: Level
Desired log level for syslog.
guts: Option<PathBuf>
The pakon's report socket path.
downstream: PathBuf
The pakon's listening socket.
Trait Implementations
impl Debug for CmdlineOpts
[src]
impl PartialEq for CmdlineOpts
[src]
fn eq(&self, __arg_0: &CmdlineOpts) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CmdlineOpts) -> bool
This method tests for !=
.
impl From<PreCmdlineOpts> for CmdlineOpts
[src]
fn from(pre: PreCmdlineOpts) -> Self
Performs the conversion.