pub struct Args {Show 35 fields
pub dir: String,
pub dev: Option<String>,
pub linux_tar: Option<String>,
pub rep_retention: u64,
pub systemd_timeout: f64,
pub hashd_size: Option<usize>,
pub hashd_fake_cpu_load: Option<bool>,
pub mem_profile: Option<u32>,
pub mem_avail: usize,
pub mem_margin: f64,
pub mode: Mode,
pub iocost_qos_ovr: IoCostQoSOvr,
pub swappiness_ovr: Option<u32>,
pub job_specs: Vec<JobSpec>,
pub result: String,
pub study_rep_d: String,
pub iocost_from_sys: bool,
pub keep_reports: bool,
pub clear_reports: bool,
pub force: bool,
pub force_shadow_inode_prot_test: bool,
pub skip_shadow_inode_prot_test: bool,
pub test: bool,
pub verbosity: u32,
pub logfile: Option<String>,
pub rstat: u32,
pub merge_srcs: Vec<String>,
pub merge_by_id: bool,
pub merge_ignore_versions: bool,
pub merge_ignore_sysreqs: bool,
pub merge_multiple: bool,
pub upload_email: Option<String>,
pub upload_github: Option<String>,
pub upload_url: Option<String>,
pub doc_subjects: Vec<String>,
}Fields§
§dir: String§dev: Option<String>§linux_tar: Option<String>§rep_retention: u64§systemd_timeout: f64§hashd_size: Option<usize>§hashd_fake_cpu_load: Option<bool>§mem_profile: Option<u32>§mem_avail: usize§mem_margin: f64§mode: Mode§iocost_qos_ovr: IoCostQoSOvr§swappiness_ovr: Option<u32>§job_specs: Vec<JobSpec>§result: String§study_rep_d: String§iocost_from_sys: bool§keep_reports: bool§clear_reports: bool§force: bool§force_shadow_inode_prot_test: bool§skip_shadow_inode_prot_test: bool§test: bool§verbosity: u32§logfile: Option<String>§rstat: u32§merge_srcs: Vec<String>§merge_by_id: bool§merge_ignore_versions: bool§merge_ignore_sysreqs: bool§merge_multiple: bool§upload_email: Option<String>§upload_github: Option<String>§upload_url: Option<String>§doc_subjects: Vec<String>Implementations§
Source§impl Args
impl Args
pub const RB_BENCH_FILENAME: &'static str = "rb-bench.json"
pub const DFL_MEM_PROFILE: u32 = 16u32
pub fn set_help_body(help: &'static str)
pub fn demo_bench_knobs_path(&self) -> String
pub fn bench_knobs_path(&self) -> String
pub fn parse_propset(input: &str) -> BTreeMap<String, String>
pub fn parse_job_spec(spec: &str) -> Result<JobSpec>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more