pub struct FileStats {
pub file_size: usize,
pub allocated_size: usize,
}
Expand description
Statistics per size class and backing file.
Fields§
§file_size: usize
The size of the file in bytes.
allocated_size: usize
Size of the file on disk in bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileStats
impl RefUnwindSafe for FileStats
impl Send for FileStats
impl Sync for FileStats
impl Unpin for FileStats
impl UnwindSafe for FileStats
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