pub struct RestoreReport {
pub recovered_messages: usize,
pub restored_queue: usize,
pub restored_plan: usize,
pub restored_rewinds: usize,
pub tree_loaded: bool,
pub journal_armed: bool,
}Expand description
What arm found and put back.
Fields§
§recovered_messages: usizeMessages recovered from past the journal’s last checkpoint — the turn an interrupted process never got to persist.
restored_queue: usizePending steering + follow-up inputs re-queued.
restored_plan: usizePlan steps restored.
restored_rewinds: usizeRewinds whose undo is available again.
tree_loaded: boolWhether a stored conversation tree was loaded (as opposed to rebuilt from the linear history, or not armed at all).
journal_armed: boolWhether the append-only journal is now open for writing.
Trait Implementations§
Source§impl Clone for RestoreReport
impl Clone for RestoreReport
Source§fn clone(&self) -> RestoreReport
fn clone(&self) -> RestoreReport
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 RestoreReport
impl Debug for RestoreReport
Source§impl Default for RestoreReport
impl Default for RestoreReport
Source§fn default() -> RestoreReport
fn default() -> RestoreReport
Returns the “default value” for a type. Read more
impl Eq for RestoreReport
Source§impl PartialEq for RestoreReport
impl PartialEq for RestoreReport
impl StructuralPartialEq for RestoreReport
Auto Trait Implementations§
impl Freeze for RestoreReport
impl RefUnwindSafe for RestoreReport
impl Send for RestoreReport
impl Sync for RestoreReport
impl Unpin for RestoreReport
impl UnsafeUnpin for RestoreReport
impl UnwindSafe for RestoreReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.