Struct rd_agent_intf::args::Args
source · pub struct Args {Show 19 fields
pub dir: String,
pub scratch: Option<String>,
pub dev: Option<String>,
pub rep_retention: u64,
pub rep_1min_retention: u64,
pub systemd_timeout: f64,
pub enforce: EnforceConfig,
pub no_iolat: bool,
pub force: bool,
pub force_running: bool,
pub prepare: bool,
pub linux_tar: Option<String>,
pub bench_file: Option<String>,
pub reset: bool,
pub keep_reports: bool,
pub bypass: bool,
pub verbosity: u32,
pub logfile: Option<String>,
pub bandit: Option<Bandit>,
}
Fields§
§dir: String
§scratch: Option<String>
§dev: Option<String>
§rep_retention: u64
§rep_1min_retention: u64
§systemd_timeout: f64
§enforce: EnforceConfig
§no_iolat: bool
§force: bool
§force_running: bool
§prepare: bool
§linux_tar: Option<String>
§bench_file: Option<String>
§reset: bool
§keep_reports: bool
§bypass: bool
§verbosity: u32
§logfile: Option<String>
§bandit: Option<Bandit>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Args
impl<'de> Deserialize<'de> for Args
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonArgs for Args
impl JsonArgs for Args
fn match_cmdline() -> ArgMatches<'static>
fn verbosity(matches: &ArgMatches<'_>) -> u32
fn log_file(matches: &ArgMatches<'_>) -> String
fn process_cmdline(&mut self, matches: &ArgMatches<'_>) -> bool
fn system_configuration_overrides( _matches: &ArgMatches<'_> ) -> (Option<usize>, Option<usize>, Option<usize>)
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more