pub struct InstalledCheckpoint {
pub ordinal: u64,
pub checkpoint_id: String,
pub previous_checkpoint_id: Option<String>,
pub covered_head: String,
pub through_step_seq: u64,
pub state_digest: String,
pub checkpoint_bytes: Vec<u8>,
pub acknowledged: bool,
}Expand description
An installed checkpoint. Flattens node’s InstalledCheckpoint extends CheckpointCandidate.
Fields§
§ordinal: u64Monotonic install ordinal. previous_checkpoint_id == None installs ordinal 0.
checkpoint_id: String§previous_checkpoint_id: Option<String>§covered_head: StringThe record digest at through_step_seq — verified at install, not required to still be head.
through_step_seq: u64§state_digest: String§checkpoint_bytes: Vec<u8>§acknowledged: boolWhether KernelJournal::ack_checkpoint has run. Prefix reclamation is gated on this: a
checkpoint that is installed but not acknowledged is recoverable-from but not
prune-authorising (spec §12.3 rules 5–6).
Trait Implementations§
Source§impl Clone for InstalledCheckpoint
impl Clone for InstalledCheckpoint
Source§fn clone(&self) -> InstalledCheckpoint
fn clone(&self) -> InstalledCheckpoint
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 moreSource§impl Debug for InstalledCheckpoint
impl Debug for InstalledCheckpoint
impl Eq for InstalledCheckpoint
Source§impl PartialEq for InstalledCheckpoint
impl PartialEq for InstalledCheckpoint
impl StructuralPartialEq for InstalledCheckpoint
Auto Trait Implementations§
impl Freeze for InstalledCheckpoint
impl RefUnwindSafe for InstalledCheckpoint
impl Send for InstalledCheckpoint
impl Sync for InstalledCheckpoint
impl Unpin for InstalledCheckpoint
impl UnsafeUnpin for InstalledCheckpoint
impl UnwindSafe for InstalledCheckpoint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.