pub struct Readout {
pub sent: usize,
pub received: usize,
pub channel_len: usize,
pub blocked: usize,
pub tof: Vec<CoarseDuration>,
}Expand description
A readout of sizes from the meter. Note that it is possible, due to asynchrony, for received to be slightly higher than sent.
Fields§
§sent: usizeThe amount of messages sent on the channel, in aggregate.
received: usizeThe amount of messages received on the channel, in aggregate.
channel_len: usizeAn approximation of the queue size.
blocked: usizeHow many times the caller blocked when sending messages.
tof: Vec<CoarseDuration>Time of flight in micro seconds (us)
Trait Implementations§
impl StructuralPartialEq for Readout
Auto Trait Implementations§
impl Freeze for Readout
impl RefUnwindSafe for Readout
impl Send for Readout
impl Sync for Readout
impl Unpin for Readout
impl UnwindSafe for Readout
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