pub enum DirMigration {
NotNeeded,
Migrated {
from: PathBuf,
to: PathBuf,
files: Vec<&'static str>,
archived: Option<PathBuf>,
scrubbed_plaintext: bool,
},
Failed {
from: PathBuf,
to: PathBuf,
error: String,
},
}Expand description
Outcome of moving a legacy directory to the preferred location.
Variants§
NotNeeded
Migrated
Fields
Failed
Nothing was copied, and the returned paths still point at from.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DirMigration
impl Freeze for DirMigration
impl Move for DirMigration
impl RefUnwindSafe for DirMigration
impl Send for DirMigration
impl Sync for DirMigration
impl Unpin for DirMigration
impl UnsafeUnpin for DirMigration
impl UnwindSafe for DirMigration
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