pub struct SequenceId(/* private fields */);Expand description
A record’s position in one ordered global stream generation.
Assign positions 0, 1, 2, ... across all shards together. The loader uses
them to restore global order and rejects duplicate or missing positions.
Keep sample identity separate in LogicalSampleId when the same sample
can appear at a different position in another epoch.
Implementations§
Source§impl SequenceId
impl SequenceId
Trait Implementations§
Source§impl Clone for SequenceId
impl Clone for SequenceId
impl Copy for SequenceId
Source§impl Debug for SequenceId
impl Debug for SequenceId
impl Eq for SequenceId
Source§impl Hash for SequenceId
impl Hash for SequenceId
Source§impl Ord for SequenceId
impl Ord for SequenceId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SequenceId
impl PartialEq for SequenceId
Source§impl PartialOrd for SequenceId
impl PartialOrd for SequenceId
impl StructuralPartialEq for SequenceId
Auto Trait Implementations§
impl Forget for SequenceId
impl Freeze for SequenceId
impl RefUnwindSafe for SequenceId
impl Send for SequenceId
impl Sync for SequenceId
impl Unpin for SequenceId
impl UnsafeUnpin for SequenceId
impl UnwindSafe for SequenceId
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