pub struct QueueStat {
pub name: String,
pub len: usize,
pub capacity: usize,
pub high_water: usize,
pub ended: bool,
}Expand description
The state of one queue.
Fields§
§name: StringThe queue, as owner.port.
len: usizeItems held.
capacity: usizeItems it holds at most.
high_water: usizeThe most it held at any time.
ended: boolWhether its stream has ended.
Trait Implementations§
impl Eq for QueueStat
impl StructuralPartialEq for QueueStat
Auto Trait Implementations§
impl Freeze for QueueStat
impl RefUnwindSafe for QueueStat
impl Send for QueueStat
impl Sync for QueueStat
impl Unpin for QueueStat
impl UnsafeUnpin for QueueStat
impl UnwindSafe for QueueStat
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