pub struct IndexStats { /* private fields */ }Expand description
Statistics for index effectiveness and auto-tuning
Implementations§
Source§impl IndexStats
impl IndexStats
Sourcepub fn speedup_ratio(&self) -> f64
pub fn speedup_ratio(&self) -> f64
Get speedup ratio (indexed vs linear)
Sourcepub fn index_hit_rate(&self) -> f64
pub fn index_hit_rate(&self) -> f64
Get percentage of queries using index
Trait Implementations§
Source§impl Clone for IndexStats
impl Clone for IndexStats
Source§fn clone(&self) -> IndexStats
fn clone(&self) -> IndexStats
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§impl Debug for IndexStats
impl Debug for IndexStats
Source§impl Default for IndexStats
impl Default for IndexStats
Source§fn default() -> IndexStats
fn default() -> IndexStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexStats
impl RefUnwindSafe for IndexStats
impl Send for IndexStats
impl Sync for IndexStats
impl Unpin for IndexStats
impl UnwindSafe for IndexStats
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