#[non_exhaustive]pub struct TierStats {
pub apks: usize,
pub files: usize,
pub bytes: u64,
}Expand description
Per-tier usage reported by DiskCache::tier_stats.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.apks: usizeAPK keys with data in the tier.
files: usizeFiles in the tier.
bytes: u64Bytes those files take.
Trait Implementations§
impl Copy for TierStats
impl Eq for TierStats
impl StructuralPartialEq for TierStats
Auto Trait Implementations§
impl Forget for TierStats
impl Freeze for TierStats
impl Move for TierStats
impl RefUnwindSafe for TierStats
impl Send for TierStats
impl Sync for TierStats
impl Unpin for TierStats
impl UnsafeUnpin for TierStats
impl UnwindSafe for TierStats
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