pub struct RowId(/* private fields */);Expand description
A row id, 64 bits: the shard in the high 16 bits and a local number in the low 48 bits.
A row keeps its row id for its life. An update keeps it, and a move from the hot store to the cold store keeps it.
Implementations§
Trait Implementations§
impl Copy for RowId
impl Eq for RowId
Source§impl Ord for RowId
impl Ord for RowId
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 PartialOrd for RowId
impl PartialOrd for RowId
impl StructuralPartialEq for RowId
Auto Trait Implementations§
impl Freeze for RowId
impl RefUnwindSafe for RowId
impl Send for RowId
impl Sync for RowId
impl Unpin for RowId
impl UnsafeUnpin for RowId
impl UnwindSafe for RowId
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