pub struct Conditions {
pub files: usize,
pub bytes_in: u64,
pub mode: Mode,
pub threads: Option<usize>,
pub workers: usize,
pub repeat: u32,
pub streamed: bool,
pub memory: MemoryMode,
}Expand description
The conditions the run was made under, shown on the input line and in
JSON and CSV. The backend is per row (Row::backend), not here: one
build can bench some codecs through C and others in pure Rust.
Fields§
§files: usize§bytes_in: u64§mode: Mode§threads: Option<usize>--threads as given.
workers: usizeThe worker budget that setting resolved to (1 without --threads).
repeat: u32§streamed: bool§memory: MemoryModeTrait Implementations§
Source§impl Clone for Conditions
impl Clone for Conditions
Auto Trait Implementations§
impl Forget for Conditions
impl Freeze for Conditions
impl RefUnwindSafe for Conditions
impl Send for Conditions
impl Sync for Conditions
impl Unpin for Conditions
impl UnsafeUnpin for Conditions
impl UnwindSafe for Conditions
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