pub enum XID {
Auto,
Manual(Str),
Max,
NewInGroup,
}
Available on crate feature
i-streams
only.Expand description
Stream ID arguments for XADD
, XREAD
, etc.
Variants§
Auto
The auto-generated key symbol “*”.
Manual(Str)
An ID specified by the user such as “12345-0”.
Max
The highest ID in a stream (“$”).
NewInGroup
For XREADGROUP
, only return new IDs (“>”).
Trait Implementations§
impl Eq for XID
impl StructuralPartialEq for XID
Auto Trait Implementations§
impl !Freeze for XID
impl RefUnwindSafe for XID
impl Send for XID
impl Sync for XID
impl Unpin for XID
impl UnwindSafe for XID
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