Struct rd_agent_intf::args::Args
source · [−]pub struct Args {Show 18 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 bandit: Option<Bandit>,
}Fields
dir: Stringscratch: Option<String>dev: Option<String>rep_retention: u64rep_1min_retention: u64systemd_timeout: f64enforce: EnforceConfigno_iolat: boolforce: boolforce_running: boolprepare: boollinux_tar: Option<String>bench_file: Option<String>reset: boolkeep_reports: boolbypass: boolverbosity: u32bandit: Option<Bandit>Implementations
sourceimpl Args
impl Args
pub fn set_help_body(help: &'static str)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Args where
Args: Default,
impl<'de> Deserialize<'de> for Args where
Args: Default,
sourcefn 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
sourceimpl JsonArgs for Args
impl JsonArgs for Args
fn match_cmdline() -> ArgMatches<'static>
fn verbosity(matches: &ArgMatches<'_>) -> u32
fn process_cmdline(&mut self, matches: &ArgMatches<'_>) -> bool
fn system_configuration_overrides(
_matches: &ArgMatches<'_>
) -> (Option<usize>, Option<usize>, Option<usize>)
Auto Trait Implementations
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> JsonArgsHelper for T where
T: JsonArgs,
impl<T> JsonArgsHelper for T where
T: JsonArgs,
fn init_args_and_logging_nosave() -> Result<(JsonConfigFile<T>, bool), Error>
fn save_args(args_file: &JsonConfigFile<T>) -> Result<(), Error>
fn init_args_and_logging() -> Result<JsonConfigFile<T>, Error>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more