pub struct CleanSummary {
pub total_items: usize,
pub succeeded: usize,
pub failed: usize,
pub skipped: usize,
pub bytes_freed: u64,
pub bytes_failed: u64,
pub used_trash: bool,
pub results: Vec<CleanResult>,
pub errors: Vec<CleanError>,
}Expand description
Summary of a cleaning operation
Fields§
§total_items: usizeTotal items attempted
succeeded: usizeItems successfully cleaned
failed: usizeItems that failed
skipped: usizeItems skipped (e.g., due to warnings)
bytes_freed: u64Total bytes freed
bytes_failed: u64Total bytes that failed to clean
used_trash: boolWhether trash was used
results: Vec<CleanResult>Individual results
errors: Vec<CleanError>Errors encountered
Implementations§
Source§impl CleanSummary
impl CleanSummary
Trait Implementations§
Source§impl Clone for CleanSummary
impl Clone for CleanSummary
Source§fn clone(&self) -> CleanSummary
fn clone(&self) -> CleanSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CleanSummary
impl RefUnwindSafe for CleanSummary
impl Send for CleanSummary
impl Sync for CleanSummary
impl Unpin for CleanSummary
impl UnwindSafe for CleanSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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