pub struct MigrationReport {
pub source: PathBuf,
pub moved: Vec<(String, &'static str)>,
pub skipped: Vec<String>,
pub conflicts: Vec<String>,
pub errors: Vec<String>,
}Expand description
Outcome of a migration run, surfaced through doctor --fix.
Fields§
§source: PathBufThe single directory that was split.
moved: Vec<(String, &'static str)>(entry, category) for every entry successfully relocated (moved or
merged into an existing destination directory).
skipped: Vec<String>Entries dropped because the destination already held a byte-identical copy — nothing new was written; the duplicate source was removed.
conflicts: Vec<String>Entries whose destination held different data: the source was preserved
next to the destination under a *.legacy name rather than lost (#429).
errors: Vec<String>Per-entry move failures (entry: error).
Auto Trait Implementations§
impl Forget for MigrationReport
impl Freeze for MigrationReportwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, &'static str)>: Freeze,
PhantomData<String>: Freeze,
impl Move for MigrationReport
impl RefUnwindSafe for MigrationReport
impl Send for MigrationReport
impl Sync for MigrationReportwhere
RawVecInner: Sync,
impl Unpin for MigrationReport
impl UnsafeUnpin for MigrationReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, &'static str)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for MigrationReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more