pub struct Statistics { /* private fields */ }Expand description
Implementations§
Source§impl Statistics
impl Statistics
Sourcepub fn value(&self, key: &str) -> Option<StatisticsValue>
pub fn value(&self, key: &str) -> Option<StatisticsValue>
Get the statistics value for the given key.
Sourcepub fn entries(&self) -> impl Iterator<Item = StatisticsEntry> + '_
pub fn entries(&self) -> impl Iterator<Item = StatisticsEntry> + '_
Iterate over all of the entries in this set of statistics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl !Send for Statistics
impl !Sync for Statistics
impl Unpin for Statistics
impl UnsafeUnpin for Statistics
impl UnwindSafe for Statistics
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