pub struct Filter {
pub start: Id,
pub end: Id,
pub count: Option<usize>,
pub owner: Option<u32>,
pub min_idle: u64,
}Expand description
Which pending entries a caller wants, which is every filter XPENDING takes.
A struct rather than five more arguments because the command parses them as
a group and they travel together from the wire to here. The default is the
whole list, so a caller that only wants a window sets start and end and
leaves the rest alone.
Fields§
§start: IdThe low end of the ID window, included.
end: IdThe high end, included.
count: Option<usize>At most this many, or every one in the window.
owner: Option<u32>Only what this consumer is holding.
min_idle: u64Only what has been sitting at least this many milliseconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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