pub struct CleanOutcome {
pub report: CleanReport,
pub failures: Vec<CleanFailure>,
}Expand description
Outcome of CacheWriter::clean: the AUX-024 report plus the
best-effort CleanFailures collected per AUX-028.
failures is empty on a fully-successful run. report is always
present and describes what was actually reclaimed (under
--dry-run, what would be reclaimed); a non-empty failures
means some planned work could not be completed, and the caller
surfaces those while still reporting the rest.
Fields§
§report: CleanReportThe AUX-024 report for the work that succeeded.
failures: Vec<CleanFailure>Per-item failures collected best-effort per AUX-028.
Trait Implementations§
Source§impl Debug for CleanOutcome
impl Debug for CleanOutcome
Source§impl Default for CleanOutcome
impl Default for CleanOutcome
Source§fn default() -> CleanOutcome
fn default() -> CleanOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CleanOutcome
impl !UnwindSafe for CleanOutcome
impl Freeze for CleanOutcome
impl Send for CleanOutcome
impl Sync for CleanOutcome
impl Unpin for CleanOutcome
impl UnsafeUnpin for CleanOutcome
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