pub struct Filesystem {
pub files: usize,
pub files_total: usize,
pub files_avail: usize,
pub free: ByteSize,
pub avail: ByteSize,
pub total: ByteSize,
pub name_max: usize,
pub fs_type: String,
pub fs_mounted_from: String,
pub fs_mounted_on: String,
}
Fields§
§files: usize
Used file nodes in filesystem
files_total: usize
Total file nodes in filesystem
files_avail: usize
Free nodes available to non-superuser
free: ByteSize
Free bytes in filesystem
avail: ByteSize
Free bytes available to non-superuser
total: ByteSize
Total bytes in filesystem
name_max: usize
Maximum filename length
fs_type: String
§fs_mounted_from: String
§fs_mounted_on: String
Trait Implementations§
Source§impl Clone for Filesystem
impl Clone for Filesystem
Source§fn clone(&self) -> Filesystem
fn clone(&self) -> Filesystem
Returns a copy 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 Filesystem
impl RefUnwindSafe for Filesystem
impl Send for Filesystem
impl Sync for Filesystem
impl Unpin for Filesystem
impl UnwindSafe for Filesystem
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