pub struct ChunkId(pub u64);Expand description
ChunkId represents a unique identifier for a chunk based on its global offset in the log.
Each chunk in the log has a unique position identified by its starting offset. This offset serves as the chunk’s identifier and can be used to locate and reference specific chunks within the log.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Ord for ChunkId
impl Ord for ChunkId
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
Source§impl PartialOrd for ChunkId
impl PartialOrd for ChunkId
impl Copy for ChunkId
impl Eq for ChunkId
impl StructuralPartialEq for ChunkId
Auto Trait Implementations§
impl Freeze for ChunkId
impl RefUnwindSafe for ChunkId
impl Send for ChunkId
impl Sync for ChunkId
impl Unpin for ChunkId
impl UnsafeUnpin for ChunkId
impl UnwindSafe for ChunkId
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