pub struct TxPerSec<T: Instant = StdInstant> {
pub hdr_histogram: HdrHistogram,
/* private fields */
}
Expand description
Non-thread safe implementation of RecordThroughput
. Use as
RefCell<TxPerSec<T>>
.
Fields
hdr_histogram: HdrHistogram
The inner histogram
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TxPerSec<T> where
T: RefUnwindSafe,
impl<T> Send for TxPerSec<T> where
T: Send,
impl<T> Sync for TxPerSec<T> where
T: Sync,
impl<T> Unpin for TxPerSec<T> where
T: Unpin,
impl<T> UnwindSafe for TxPerSec<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more