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