pub enum RangeIdx {
Any,
Timestamp(TimestampId),
Id(StreamId),
ExcludeId(StreamId),
}
Expand description
Position within redis stream
Variants§
Any
Special type, meaning open range.
Timestamp(TimestampId)
Any message with specified timestamp of id.
Id(StreamId)
Concrete message id.
ExcludeId(StreamId)
Excluding variant of Id
.
I.e. start from id
but do not include id
itself.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RangeIdx
impl RefUnwindSafe for RangeIdx
impl Send for RangeIdx
impl Sync for RangeIdx
impl Unpin for RangeIdx
impl UnwindSafe for RangeIdx
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