pub struct Chain {
pub at: u64,
pub len: u64,
}Expand description
Where a section went and how long it is.
The same pair yo_kv::cold::Chain carries, written here as two u64 because
this crate is the layout and does not depend on the crate that walks the
chunks.
Fields§
§at: u64The address of the single chunk, or of the directory.
len: u64The section’s length in bytes, which is what says which of those it is.
Trait Implementations§
impl Copy for Chain
impl Eq for Chain
impl StructuralPartialEq for Chain
Auto Trait Implementations§
impl Freeze for Chain
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnsafeUnpin for Chain
impl UnwindSafe for Chain
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