pub enum InterruptedRestore {
PutBack {
from: PathBuf,
},
KeptPlaced {
previous: PathBuf,
},
}Expand description
What recover_interrupted_restore found and did.
Variants§
PutBack
The live store was missing; the previous store kept at from was moved back (sidecars
included).
KeptPlaced
The replacement was already placed when the crash happened. It stays; the previous store
is still kept at previous. Nothing was verified, so the caller may run its own checks.
Trait Implementations§
Source§impl Clone for InterruptedRestore
impl Clone for InterruptedRestore
Source§impl Debug for InterruptedRestore
impl Debug for InterruptedRestore
impl Eq for InterruptedRestore
Source§impl PartialEq for InterruptedRestore
impl PartialEq for InterruptedRestore
impl StructuralPartialEq for InterruptedRestore
Auto Trait Implementations§
impl Freeze for InterruptedRestore
impl RefUnwindSafe for InterruptedRestore
impl Send for InterruptedRestore
impl Sync for InterruptedRestore
impl Unpin for InterruptedRestore
impl UnsafeUnpin for InterruptedRestore
impl UnwindSafe for InterruptedRestore
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