pub struct ContinuityReport {
pub reason: String,
pub snapshot_path: String,
pub restored: Vec<String>,
pub lost: Vec<LostName>,
pub interrupted_cell: bool,
pub unsaved_cells: u64,
pub restore_error: Option<String>,
}Expand description
What a recovery restored and lost. Attached to the first cell result after the kernel restarted.
Fields§
§reason: StringWhy the kernel restarted: the failure the previous kernel ended with.
snapshot_path: String§restored: Vec<String>Names restored from the checkpoint, sorted.
lost: Vec<LostName>Names the checkpoint knew that did not come back, sorted by name.
interrupted_cell: boolA cell was running when the kernel died; whatever it changed is gone.
unsaved_cells: u64Cells that completed after the checkpoint; their changes are gone too (non-zero only with a debounce).
restore_error: Option<String>Set when the checkpoint could not be restored (refused, unreadable, or the kernel died restoring it); the kernel then starts with an empty namespace.
Implementations§
Trait Implementations§
Source§impl Clone for ContinuityReport
impl Clone for ContinuityReport
Source§impl Debug for ContinuityReport
impl Debug for ContinuityReport
impl Eq for ContinuityReport
Source§impl PartialEq for ContinuityReport
impl PartialEq for ContinuityReport
Source§impl Serialize for ContinuityReport
impl Serialize for ContinuityReport
impl StructuralPartialEq for ContinuityReport
Auto Trait Implementations§
impl Forget for ContinuityReport
impl Freeze for ContinuityReport
impl Move for ContinuityReport
impl RefUnwindSafe for ContinuityReport
impl Send for ContinuityReport
impl Sync for ContinuityReport
impl Unpin for ContinuityReport
impl UnsafeUnpin for ContinuityReport
impl UnwindSafe for ContinuityReport
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.