pub struct Latency {
pub produce: Data,
pub consume: Data,
}
Expand description
A measurement of the latency of a queue.
Fields§
§produce: Data
The enqueue operation latencies in nanoseconds.
consume: Data
The dequeue operation latencies in nanoseconds.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Latency
impl RefUnwindSafe for Latency
impl Send for Latency
impl Sync for Latency
impl Unpin for Latency
impl UnwindSafe for Latency
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