pub struct RepairLog {
pub corrections: Vec<Correction>,
pub skipped: Vec<SkippedCorrection>,
}Expand description
Accumulated log of a repair pass: applied and skipped corrections.
Fields§
§corrections: Vec<Correction>Corrections that were applied
skipped: Vec<SkippedCorrection>Corrections that were found but skipped (collision safety)
Implementations§
Source§impl RepairLog
impl RepairLog
Sourcepub fn has_corrections(&self) -> bool
pub fn has_corrections(&self) -> bool
Check if any corrections were applied
Sourcepub fn correction_count(&self) -> usize
pub fn correction_count(&self) -> usize
Get the number of corrections applied
Sourcepub fn has_skipped(&self) -> bool
pub fn has_skipped(&self) -> bool
Check if any corrections were skipped
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepairLog
impl RefUnwindSafe for RepairLog
impl Send for RepairLog
impl Sync for RepairLog
impl Unpin for RepairLog
impl UnsafeUnpin for RepairLog
impl UnwindSafe for RepairLog
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