pub struct DrainResult {
pub commands: Vec<DrainedCommand>,
pub expired_receipts: Vec<Receipt>,
}Expand description
Result of draining the queue at the start of a tick.
Fields§
§commands: Vec<DrainedCommand>Commands that passed TTL checks, sorted in deterministic order.
expired_receipts: Vec<Receipt>Receipts for commands that expired before reaching the current tick.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DrainResult
impl RefUnwindSafe for DrainResult
impl Send for DrainResult
impl Sync for DrainResult
impl Unpin for DrainResult
impl UnsafeUnpin for DrainResult
impl UnwindSafe for DrainResult
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