pub struct ConsolidationReport {
pub canonical: PathBuf,
pub merged_from: Vec<PathBuf>,
pub files_moved: usize,
pub files_superseded: usize,
pub errors: Vec<String>,
}Expand description
Outcome of a consolidation pass, surfaced through doctor --fix.
Fields§
§canonical: PathBufThe canonical directory everything was merged into.
merged_from: Vec<PathBuf>Source dirs that were merged and removed.
files_moved: usizeFiles relocated into the canonical dir.
files_superseded: usizeFiles dropped because the canonical copy was newer-or-equal.
errors: Vec<String>Per-entry failures (path: error).
Trait Implementations§
Source§impl Debug for ConsolidationReport
impl Debug for ConsolidationReport
Source§impl Default for ConsolidationReport
impl Default for ConsolidationReport
Source§fn default() -> ConsolidationReport
fn default() -> ConsolidationReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConsolidationReport
impl RefUnwindSafe for ConsolidationReport
impl Send for ConsolidationReport
impl Sync for ConsolidationReport
impl Unpin for ConsolidationReport
impl UnsafeUnpin for ConsolidationReport
impl UnwindSafe for ConsolidationReport
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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