pub struct Stats {
pub queues: Vec<QueueStat>,
}Expand description
The state of every queue of a pipeline.
Fields§
§queues: Vec<QueueStat>The source queues, then the node outputs in node order.
Implementations§
Source§impl Stats
impl Stats
Sourcepub fn high_water(&self) -> usize
pub fn high_water(&self) -> usize
The most items any queue held at one time.
Sourcepub fn within_capacity(&self) -> bool
pub fn within_capacity(&self) -> bool
Whether every queue stayed within its capacity (which the queues enforce; this checks the bookkeeping).
Trait Implementations§
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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