pub struct JournalRepair {
pub recovery: JournalRecovery,
pub changed: bool,
pub preserved: Option<PathBuf>,
}Expand description
Outcome of repair_journal_file.
Fields§
§recovery: JournalRecovery§changed: boolFalse when the file already held exactly the recovered journal.
preserved: Option<PathBuf>Where the original bytes were kept before the file was replaced.
Trait Implementations§
Source§impl Clone for JournalRepair
impl Clone for JournalRepair
Source§impl Debug for JournalRepair
impl Debug for JournalRepair
impl Eq for JournalRepair
Source§impl PartialEq for JournalRepair
impl PartialEq for JournalRepair
impl StructuralPartialEq for JournalRepair
Auto Trait Implementations§
impl Freeze for JournalRepair
impl RefUnwindSafe for JournalRepair
impl Send for JournalRepair
impl Sync for JournalRepair
impl Unpin for JournalRepair
impl UnsafeUnpin for JournalRepair
impl UnwindSafe for JournalRepair
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