pub enum ReadGroupId {
New,
ReplayAfter(StreamId),
}Expand description
XREADGROUP’s per-stream ID: either > (= new entries) or an explicit
“after this id” for PEL replay.
Variants§
Trait Implementations§
Source§impl Clone for ReadGroupId
impl Clone for ReadGroupId
Source§fn clone(&self) -> ReadGroupId
fn clone(&self) -> ReadGroupId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReadGroupId
Source§impl Debug for ReadGroupId
impl Debug for ReadGroupId
impl Eq for ReadGroupId
Source§impl PartialEq for ReadGroupId
impl PartialEq for ReadGroupId
Source§fn eq(&self, other: &ReadGroupId) -> bool
fn eq(&self, other: &ReadGroupId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReadGroupId
Auto Trait Implementations§
impl Freeze for ReadGroupId
impl RefUnwindSafe for ReadGroupId
impl Send for ReadGroupId
impl Sync for ReadGroupId
impl Unpin for ReadGroupId
impl UnsafeUnpin for ReadGroupId
impl UnwindSafe for ReadGroupId
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