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 Forget for JournalRepair
impl Freeze for JournalRepairwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<JournalCheck>: Freeze,
PhantomData<u8>: Freeze,
impl Move for JournalRepair
impl RefUnwindSafe for JournalRepair
impl Send for JournalRepairwhere
RawVecInner: Send,
impl Sync for JournalRepairwhere
RawVecInner: Sync,
impl Unpin for JournalRepair
impl UnsafeUnpin for JournalRepairwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<JournalCheck>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for JournalRepairwhere
RawVecInner: UnwindSafe,
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