pub struct Work {
pub probed: usize,
pub scanned: usize,
}Expand description
What one search actually read.
Tuning::probe is a budget rather than a bill, and with
Tuning::patience set the two are different for most queries. This is the
bill.
Fields§
§probed: usizePartitions read.
scanned: usizeCoded members the estimator was run over, which is the number that actually tracks the time a search took. Partitions are not the same size as each other and a count of them hides that.
Trait Implementations§
impl Copy for Work
impl Eq for Work
impl StructuralPartialEq for Work
Auto Trait Implementations§
impl Freeze for Work
impl RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl UnsafeUnpin for Work
impl UnwindSafe for Work
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