pub struct Purge {
pub removed: Vec<PathBuf>,
pub not_deleted: Vec<(PathBuf, CoreError)>,
pub failed: Vec<(PathBuf, CoreError)>,
}Expand description
What purge_old_values did.
Fields§
§removed: Vec<PathBuf>The client files whose backup was overwritten with zeros (and, but
for those in not_deleted, deleted): the old values are gone.
not_deleted: Vec<(PathBuf, CoreError)>Of removed, the client files whose zeroed backup could not be
deleted, with why. It holds no old value any more and is never
restored.
failed: Vec<(PathBuf, CoreError)>The client files whose backup was left as it was, with why.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Purge
impl Freeze for Purgewhere
*const u8 is !null: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<(PathBuf, CoreError)>: Freeze,
impl Move for Purge
impl RefUnwindSafe for Purge
impl Send for Purgewhere
RawVecInner: Send,
impl Sync for Purgewhere
RawVecInner: Sync,
impl Unpin for Purge
impl UnsafeUnpin for Purgewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<(PathBuf, CoreError)>: UnsafeUnpin,
impl UnwindSafe for Purgewhere
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