pub struct StatsCollector { /* private fields */ }Expand description
A stats collector for measuring present operations.
Use this to wrap present() calls and collect statistics.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for StatsCollector
impl Freeze for StatsCollector
impl Move for StatsCollector
impl RefUnwindSafe for StatsCollector
impl Send for StatsCollector
impl Sync for StatsCollector
impl Unpin for StatsCollector
impl UnsafeUnpin for StatsCollector
impl UnwindSafe for StatsCollector
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