pub struct PelEntry {
pub consumer: SmallBytes,
pub delivery_time_ms: u64,
pub delivery_count: u32,
}Expand description
One pending entry: who got it, when, and how many times.
Fields§
§consumer: SmallBytesOwning consumer’s name. Used by XPENDING’s consumer filter
and XCLAIM’s ownership transfer.
delivery_time_ms: u64Last delivery wall-clock (unix-ms). XCLAIM compares idle =
now - delivery_time_ms against its min-idle-ms arg.
delivery_count: u32Number of times this entry has been delivered (=1 on first XREADGROUP, +=1 on each XCLAIM that doesn’t have JUSTID).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PelEntry
impl RefUnwindSafe for PelEntry
impl Send for PelEntry
impl Sync for PelEntry
impl Unpin for PelEntry
impl UnsafeUnpin for PelEntry
impl UnwindSafe for PelEntry
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