pub struct Stats {
pub bsize: u64,
pub blocks: u64,
pub bused: u64,
pub bfree: u64,
pub bavail: u64,
pub inodes: Option<Inodes>,
}
Expand description
inode & blocs information
The semantics is mostly the one of statvfs, with addition of bused which is necessary for volumes freely growing in containers
Fields§
§bsize: u64
block size
blocks: u64
number of blocks
bused: u64
not provided by statvfs
bfree: u64
number of free blocks
bavail: u64
number of free blocks for underprivileged users
inodes: Option<Inodes>
information relative to inodes, if available
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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