pub struct PendingSummary {
pub total: u64,
pub id_range: Option<(StreamId, StreamId)>,
pub by_consumer: Vec<(Vec<u8>, u64)>,
}Expand description
Summary form of XPENDING key group (only 3 args): total pending,
min/max IDs across the PEL, and per-consumer aggregate counts.
Fields§
§total: u64Total pending entries across all consumers.
id_range: Option<(StreamId, StreamId)>Smallest and largest pending IDs, or None if the PEL is empty.
by_consumer: Vec<(Vec<u8>, u64)>(consumer, count) pairs in arbitrary order.
Auto Trait Implementations§
impl Freeze for PendingSummary
impl RefUnwindSafe for PendingSummary
impl Send for PendingSummary
impl Sync for PendingSummary
impl Unpin for PendingSummary
impl UnsafeUnpin for PendingSummary
impl UnwindSafe for PendingSummary
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