pub struct ThreadResult {
pub threads: usize,
pub time: Duration,
pub speedup: f64,
pub efficiency: f64,
pub throughput_mb_per_sec: f64,
pub elements_found: usize,
}Fields§
§threads: usize§time: Duration§speedup: f64§efficiency: f64§throughput_mb_per_sec: f64§elements_found: usizeTrait Implementations§
Source§impl Clone for ThreadResult
impl Clone for ThreadResult
Source§fn clone(&self) -> ThreadResult
fn clone(&self) -> ThreadResult
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 moreAuto Trait Implementations§
impl Freeze for ThreadResult
impl RefUnwindSafe for ThreadResult
impl Send for ThreadResult
impl Sync for ThreadResult
impl Unpin for ThreadResult
impl UnwindSafe for ThreadResult
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