pub struct TreeLineage {
pub anchor: ContentHash,
pub depth: u8,
}Expand description
Store metadata needed to keep a future delta in the same bounded epoch. Losing this hint is safe: the next write falls back to a fresh HLR1 anchor.
Fields§
§anchor: ContentHash§depth: u8Trait Implementations§
Source§impl Clone for TreeLineage
impl Clone for TreeLineage
Source§fn clone(&self) -> TreeLineage
fn clone(&self) -> TreeLineage
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 moreimpl Copy for TreeLineage
Source§impl Debug for TreeLineage
impl Debug for TreeLineage
impl Eq for TreeLineage
Source§impl PartialEq for TreeLineage
impl PartialEq for TreeLineage
impl StructuralPartialEq for TreeLineage
Auto Trait Implementations§
impl Freeze for TreeLineage
impl RefUnwindSafe for TreeLineage
impl Send for TreeLineage
impl Sync for TreeLineage
impl Unpin for TreeLineage
impl UnsafeUnpin for TreeLineage
impl UnwindSafe for TreeLineage
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