Struct mountpoints::MountInfo
source · [−]pub struct MountInfo {
pub path: PathBuf,
pub avail: Option<u64>,
pub free: Option<u64>,
pub size: Option<u64>,
pub name: Option<String>,
pub format: Option<String>,
pub readonly: Option<bool>,
pub dummy: bool,
/* private fields */
}
Fields
path: PathBuf
Mount path
avail: Option<u64>
Available bytes to current user
free: Option<u64>
Free bytes
size: Option<u64>
Size in bytes
name: Option<String>
Name
format: Option<String>
Format (NTFS, FAT, ext4, …)
readonly: Option<bool>
Read only
dummy: bool
True if this mount point is likely to not be important
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MountInfo
impl Send for MountInfo
impl Sync for MountInfo
impl Unpin for MountInfo
impl UnwindSafe for MountInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more