Struct prioritized_metered_channel::Readout
source · pub struct Readout {
pub sent: usize,
pub received: 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: usize
The amount of messages sent on the channel, in aggregate.
received: usize
The amount of messages received on the channel, in aggregate.
blocked: usize
How many times the caller blocked when sending messages.
tof: Vec<CoarseDuration>
Time of flight in micro seconds (us)
Trait Implementations§
source§impl PartialEq<Readout> for Readout
impl PartialEq<Readout> for Readout
impl StructuralPartialEq for Readout
Auto Trait Implementations§
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