pub struct DeltaHead {
pub checkpoint: Checkpoint,
pub chain_len: usize,
}Expand description
The materialized head of a thread’s checkpoint chain: what an opting-in
backend diffs the next put against.
Fields§
§checkpoint: CheckpointThe head checkpoint, fully materialized (never itself a delta).
chain_len: usizeConsecutive delta links below the head (0 = the head is itself a
full snapshot). Backends track this at write time to enforce
DeltaPolicy::max_chain_len without re-walking the chain per put.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeltaHead
impl RefUnwindSafe for DeltaHead
impl Send for DeltaHead
impl Sync for DeltaHead
impl Unpin for DeltaHead
impl UnsafeUnpin for DeltaHead
impl UnwindSafe for DeltaHead
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