pub struct SharedBenchmarkArgs {
pub duration: Option<Duration>,
pub iterations: Option<u64>,
pub json: bool,
pub output_path: Option<PathBuf>,
pub auto_confirm: bool,
pub message_bytes: Option<usize>,
pub profile_overrides: BTreeMap<String, String>,
pub hkdf_inputs: Option<HkdfInputMaterial>,
}Fields§
§duration: Option<Duration>§iterations: Option<u64>§json: bool§output_path: Option<PathBuf>§auto_confirm: bool§message_bytes: Option<usize>§profile_overrides: BTreeMap<String, String>§hkdf_inputs: Option<HkdfInputMaterial>Implementations§
pub fn validate(&self) -> Result<(), BenchmarkError>
pub fn effective_duration(&self) -> Duration
Trait Implementations§
Source§fn clone(&self) -> SharedBenchmarkArgs
fn clone(&self) -> SharedBenchmarkArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> SharedBenchmarkArgs
fn default() -> SharedBenchmarkArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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