pub struct FilesystemStats {
pub block_size: u64,
pub total_blocks: u64,
pub free_blocks: u64,
pub available_blocks: u64,
pub total_inodes: u64,
pub free_inodes: u64,
pub filesystem_id: u64,
pub mount_flags: u64,
pub max_filename_length: u64,
}Expand description
Filesystem statistics structure
Fields§
§block_size: u64Filesystem block size
total_blocks: u64Total number of blocks
free_blocks: u64Number of free blocks
available_blocks: u64Number of available blocks for unprivileged users
total_inodes: u64Total number of inodes
free_inodes: u64Number of free inodes
filesystem_id: u64Filesystem ID
mount_flags: u64Mount flags
max_filename_length: u64Maximum filename length
Trait Implementations§
Source§impl Clone for FilesystemStats
impl Clone for FilesystemStats
Source§fn clone(&self) -> FilesystemStats
fn clone(&self) -> FilesystemStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FilesystemStats
impl RefUnwindSafe for FilesystemStats
impl Send for FilesystemStats
impl Sync for FilesystemStats
impl Unpin for FilesystemStats
impl UnwindSafe for FilesystemStats
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