pub struct CachesSummary {
pub total_caches: usize,
pub total_size: u64,
pub total_files: u64,
pub cleaned_count: usize,
pub bytes_freed: u64,
}Expand description
Summary of all cache operations
Fields§
§total_caches: usize§total_size: u64§total_files: u64§cleaned_count: usize§bytes_freed: u64Implementations§
Source§impl CachesSummary
impl CachesSummary
pub fn from_caches(caches: &[GlobalCache]) -> Self
Trait Implementations§
Source§impl Debug for CachesSummary
impl Debug for CachesSummary
Source§impl Default for CachesSummary
impl Default for CachesSummary
Source§fn default() -> CachesSummary
fn default() -> CachesSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CachesSummary
impl RefUnwindSafe for CachesSummary
impl Send for CachesSummary
impl Sync for CachesSummary
impl Unpin for CachesSummary
impl UnwindSafe for CachesSummary
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> 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