pub struct CheckpointCandidate {
pub checkpoint_id: String,
pub through_step_seq: u64,
pub state_digest: String,
pub checkpoint_bytes: Vec<u8>,
}Expand description
The host-persistable part of kernel.checkpoint_candidate() (spec §12.3).
Fields§
§checkpoint_id: StringStable identity of this checkpoint; the CAS token a later install names as its predecessor.
through_step_seq: u64The chain position this checkpoint’s logical state covers.
state_digest: Stringcore’s digest of the logical state. Opaque to the journal.
checkpoint_bytes: Vec<u8>The serialized checkpoint blob, stored verbatim.
Trait Implementations§
Source§impl Clone for CheckpointCandidate
impl Clone for CheckpointCandidate
Source§fn clone(&self) -> CheckpointCandidate
fn clone(&self) -> CheckpointCandidate
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 CheckpointCandidate
impl Debug for CheckpointCandidate
impl Eq for CheckpointCandidate
Source§impl PartialEq for CheckpointCandidate
impl PartialEq for CheckpointCandidate
impl StructuralPartialEq for CheckpointCandidate
Auto Trait Implementations§
impl Freeze for CheckpointCandidate
impl RefUnwindSafe for CheckpointCandidate
impl Send for CheckpointCandidate
impl Sync for CheckpointCandidate
impl Unpin for CheckpointCandidate
impl UnsafeUnpin for CheckpointCandidate
impl UnwindSafe for CheckpointCandidate
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.