pub struct JournalCheck {
pub valid_records: usize,
pub total_records: usize,
pub revision: u64,
pub damage: Option<JournalDamage>,
}Expand description
What Engine::open would make of a journal.
Fields§
§valid_records: usizeRecords that replay, counted from the first. They form the valid prefix.
total_records: usize§revision: u64Revision after the valid prefix; zero when nothing replays.
damage: Option<JournalDamage>None when every record replays.
Implementations§
Source§impl JournalCheck
impl JournalCheck
Trait Implementations§
Source§impl Clone for JournalCheck
impl Clone for JournalCheck
Source§impl Debug for JournalCheck
impl Debug for JournalCheck
impl Eq for JournalCheck
Source§impl PartialEq for JournalCheck
impl PartialEq for JournalCheck
impl StructuralPartialEq for JournalCheck
Auto Trait Implementations§
impl Freeze for JournalCheck
impl RefUnwindSafe for JournalCheck
impl Send for JournalCheck
impl Sync for JournalCheck
impl Unpin for JournalCheck
impl UnsafeUnpin for JournalCheck
impl UnwindSafe for JournalCheck
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