pub struct ConsumerHealth {
pub id: u64,
pub peer: String,
pub fill: usize,
pub capacity: usize,
pub dropped: u64,
}Expand description
Snapshot of one consumer queue on an crate::Outlet.
Fields§
§id: u64Monotonic identifier assigned when the consumer connected.
peer: StringRemote address of the consumer, when known.
fill: usizeNumber of samples currently waiting in this consumer’s queue.
capacity: usizeMaximum capacity of this consumer’s queue, in samples. Zero for a blocking outlet, which holds no queue.
dropped: u64Number of samples dropped from this consumer’s queue because it filled.
Trait Implementations§
Source§impl Clone for ConsumerHealth
impl Clone for ConsumerHealth
Source§impl Debug for ConsumerHealth
impl Debug for ConsumerHealth
impl Eq for ConsumerHealth
Source§impl PartialEq for ConsumerHealth
impl PartialEq for ConsumerHealth
impl StructuralPartialEq for ConsumerHealth
Auto Trait Implementations§
impl Forget for ConsumerHealth
impl Freeze for ConsumerHealth
impl Move for ConsumerHealth
impl RefUnwindSafe for ConsumerHealth
impl Send for ConsumerHealth
impl Sync for ConsumerHealth
impl Unpin for ConsumerHealth
impl UnsafeUnpin for ConsumerHealth
impl UnwindSafe for ConsumerHealth
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