pub struct FsStats {
pub block_size: u32,
pub total_blocks: u64,
pub free_blocks: u64,
pub total_inodes: u64,
pub free_inodes: u64,
pub block_group_count: u32,
pub blocks_per_group: u32,
pub inodes_per_group: u32,
pub volume_name: String,
}Expand description
Filesystem statistics.
Fields§
§block_size: u32Block size in bytes
total_blocks: u64Total number of blocks
free_blocks: u64Number of free blocks
total_inodes: u64Total number of inodes
free_inodes: u64Number of free inodes
block_group_count: u32Number of block groups
blocks_per_group: u32Blocks per group
inodes_per_group: u32Inodes per group
volume_name: StringVolume name
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsStats
impl RefUnwindSafe for FsStats
impl Send for FsStats
impl Sync for FsStats
impl Unpin for FsStats
impl UnsafeUnpin for FsStats
impl UnwindSafe for FsStats
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