pub struct TruncationMarker {
pub checkpoint_hash: String,
}Expand description
The first line of a truncated journal: names the checkpoint (by
whole-record content address) that accounts for everything the
truncation dropped. Written atomically WITH the truncation by
OplogJournal::truncate_to; surfaced by
OplogJournal::load_with_marker; fences OplogJournal::load.
Fields§
§checkpoint_hash: Stringcrate::checkpoint::Checkpoint::checkpoint_hash of the covering
checkpoint — fetch it and resume via resume_anchored.
Trait Implementations§
Source§impl Clone for TruncationMarker
impl Clone for TruncationMarker
Source§impl Debug for TruncationMarker
impl Debug for TruncationMarker
Source§impl<'de> Deserialize<'de> for TruncationMarker
impl<'de> Deserialize<'de> for TruncationMarker
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TruncationMarker
Source§impl PartialEq for TruncationMarker
impl PartialEq for TruncationMarker
Source§impl Serialize for TruncationMarker
impl Serialize for TruncationMarker
impl StructuralPartialEq for TruncationMarker
Auto Trait Implementations§
impl Freeze for TruncationMarker
impl RefUnwindSafe for TruncationMarker
impl Send for TruncationMarker
impl Sync for TruncationMarker
impl Unpin for TruncationMarker
impl UnsafeUnpin for TruncationMarker
impl UnwindSafe for TruncationMarker
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