pub struct Chain {
pub at: Addr,
pub len: u64,
}Expand description
Where a value went, and how much of it there is.
Twelve bytes, which is what value::write_cold_record puts
in a demoted record. at is the single chunk when the value fits in one and
the directory when it does not, and len is what says which.
Fields§
§at: AddrThe one chunk, or the directory.
len: u64The value’s length in bytes, not the chain’s.
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