pub enum FileOutcome {
Restored {
previous: Option<PathBuf>,
},
Unchanged,
Failed(CoreError),
Removed,
}Expand description
What restoring one client file did.
Variants§
Restored
The backed-up bytes are back; the bytes it had are in previous.
Unchanged
The file already holds the backed-up bytes.
Failed(CoreError)
Not restored (file_changed_during_apply, file_locked, I/O).
Removed
Not restored: its backup held old secret values and was removed on request (M35), so the content it had before the run is no longer kept.
Trait Implementations§
Auto Trait Implementations§
impl Forget for FileOutcome
impl Freeze for FileOutcome
impl Move for FileOutcome
impl RefUnwindSafe for FileOutcome
impl Send for FileOutcomewhere
RawVecInner: Send,
impl Sync for FileOutcomewhere
RawVecInner: Sync,
impl Unpin for FileOutcome
impl UnsafeUnpin for FileOutcome
impl UnwindSafe for FileOutcomewhere
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