pub enum StorageMeasurement {
Measured {
bytes: u64,
items: u64,
},
Unknown,
}Expand description
One category’s measured storage (RFC-011 §11, Task 081). Never a zero
standing in for “not measured”: a category orbok cannot measure exactly
is Self::Unknown, rendered as such, and left out of any total –
the false-zero the Storage page showed before this measured every
namespace’s usage() had no caller (Review Request 257 §3).
Variants§
Trait Implementations§
Source§impl Clone for StorageMeasurement
impl Clone for StorageMeasurement
impl Copy for StorageMeasurement
Source§impl Debug for StorageMeasurement
impl Debug for StorageMeasurement
impl Eq for StorageMeasurement
Source§impl PartialEq for StorageMeasurement
impl PartialEq for StorageMeasurement
impl StructuralPartialEq for StorageMeasurement
Auto Trait Implementations§
impl Freeze for StorageMeasurement
impl RefUnwindSafe for StorageMeasurement
impl Send for StorageMeasurement
impl Sync for StorageMeasurement
impl Unpin for StorageMeasurement
impl UnsafeUnpin for StorageMeasurement
impl UnwindSafe for StorageMeasurement
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