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: usizeUsed file nodes in filesystem
files_total: usizeTotal file nodes in filesystem
files_avail: usizeFree nodes available to non-superuser
free: ByteSizeFree bytes in filesystem
avail: ByteSizeFree bytes available to non-superuser
total: ByteSizeTotal bytes in filesystem
name_max: usizeMaximum filename length
fs_type: String§fs_mounted_from: String§fs_mounted_on: StringTrait Implementations§
Source§impl Clone for Filesystem
impl Clone for Filesystem
Source§fn clone(&self) -> Filesystem
fn clone(&self) -> Filesystem
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 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