pub struct Summary {
pub entries: u64,
pub bytes: u64,
pub by_command: BTreeMap<String, Usage>,
pub unknown: UnknownSummary,
pub invalid: u64,
pub temp_files: u64,
}Expand description
What DiskCache::summarize found.
Fields§
§entries: u64Valid entries.
bytes: u64Their total size in bytes.
by_command: BTreeMap<String, Usage>Valid entries by the command they answer.
unknown: UnknownSummaryunknown answers.
invalid: u64Files that are not valid entries (see sail cache verify).
temp_files: u64Temporary files of writes (in progress, or left by a crash).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Summary
Auto Trait Implementations§
impl Forget for Summary
impl Freeze for Summary
impl Move for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summarywhere
*const LeafNode<String, Usage> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Usage)>>: UnsafeUnpin,
*const LeafNode<String, u64> is !null: UnsafeUnpin,
PhantomData<Box<(String, u64)>>: UnsafeUnpin,
impl UnwindSafe for Summary
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