pub struct ChunkRecord {
pub logical: u64,
pub chunk: ChunkItem,
pub source: RecordSource,
pub generation: u64,
}Expand description
A recovered CHUNK_ITEM with provenance.
Fields§
§logical: u64Logical start address of this chunk (the key offset).
chunk: ChunkItemThe parsed chunk item.
source: RecordSourceWhere this record was found.
generation: u64Generation of the tree block containing this record.
Trait Implementations§
Source§impl Clone for ChunkRecord
impl Clone for ChunkRecord
Source§fn clone(&self) -> ChunkRecord
fn clone(&self) -> ChunkRecord
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 moreAuto Trait Implementations§
impl Freeze for ChunkRecord
impl RefUnwindSafe for ChunkRecord
impl Send for ChunkRecord
impl Sync for ChunkRecord
impl Unpin for ChunkRecord
impl UnsafeUnpin for ChunkRecord
impl UnwindSafe for ChunkRecord
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