pub struct BinaryBenchmarkConfig {Show 14 fields
pub env_clear: Option<bool>,
pub current_dir: Option<PathBuf>,
pub entry_point: Option<String>,
pub exit_with: Option<ExitWith>,
pub callgrind_args: RawArgs,
pub valgrind_args: RawArgs,
pub envs: Vec<(OsString, Option<OsString>)>,
pub flamegraph_config: Option<FlamegraphConfig>,
pub regression_config: Option<RegressionConfig>,
pub tools: Tools,
pub tools_override: Option<Tools>,
pub sandbox: Option<Sandbox>,
pub setup_parallel: Option<bool>,
pub output_format: Option<OutputFormat>,
}Available on crate feature
api only.Fields§
§env_clear: Option<bool>§current_dir: Option<PathBuf>§entry_point: Option<String>§exit_with: Option<ExitWith>§callgrind_args: RawArgs§valgrind_args: RawArgs§envs: Vec<(OsString, Option<OsString>)>§flamegraph_config: Option<FlamegraphConfig>§regression_config: Option<RegressionConfig>§tools: Tools§tools_override: Option<Tools>§sandbox: Option<Sandbox>§setup_parallel: Option<bool>§output_format: Option<OutputFormat>Implementations§
Source§impl BinaryBenchmarkConfig
impl BinaryBenchmarkConfig
pub fn update_from_all<'a, T>(self, others: T) -> Selfwhere
T: IntoIterator<Item = Option<&'a Self>>,
pub fn resolve_envs(&self) -> Vec<(OsString, OsString)>
pub fn collect_envs(&self) -> Vec<(OsString, OsString)>
Trait Implementations§
Source§impl Clone for BinaryBenchmarkConfig
impl Clone for BinaryBenchmarkConfig
Source§fn clone(&self) -> BinaryBenchmarkConfig
fn clone(&self) -> BinaryBenchmarkConfig
Returns a copy 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§impl Debug for BinaryBenchmarkConfig
impl Debug for BinaryBenchmarkConfig
Source§impl Default for BinaryBenchmarkConfig
impl Default for BinaryBenchmarkConfig
Source§fn default() -> BinaryBenchmarkConfig
fn default() -> BinaryBenchmarkConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BinaryBenchmarkConfig
impl<'de> Deserialize<'de> for BinaryBenchmarkConfig
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 PartialEq for BinaryBenchmarkConfig
impl PartialEq for BinaryBenchmarkConfig
Source§impl Serialize for BinaryBenchmarkConfig
impl Serialize for BinaryBenchmarkConfig
impl StructuralPartialEq for BinaryBenchmarkConfig
Auto Trait Implementations§
impl Freeze for BinaryBenchmarkConfig
impl RefUnwindSafe for BinaryBenchmarkConfig
impl Send for BinaryBenchmarkConfig
impl Sync for BinaryBenchmarkConfig
impl Unpin for BinaryBenchmarkConfig
impl UnwindSafe for BinaryBenchmarkConfig
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