Struct sysinfo::Disk [−][src]
pub struct Disk { /* fields omitted */ }
Struct containing a disk information.
Trait Implementations
impl DiskExt for Disk
[src]
impl DiskExt for Disk
[src]fn get_file_system(&self) -> &[u8]
[src]
fn get_file_system(&self) -> &[u8]
[src]Returns the file system used on this disk (so for example: EXT4
, NTFS
, etc…). Read more
fn get_mount_point(&self) -> &Path
[src]
fn get_mount_point(&self) -> &Path
[src]Returns the mount point of the disk (/
for example). Read more
fn get_total_space(&self) -> u64
[src]
fn get_total_space(&self) -> u64
[src]Returns the total disk size, in bytes. Read more
fn get_available_space(&self) -> u64
[src]
fn get_available_space(&self) -> u64
[src]Returns the available disk size, in bytes. Read more
Auto Trait Implementations
impl RefUnwindSafe for Disk
impl Send for Disk
impl Sync for Disk
impl Unpin for Disk
impl UnwindSafe for Disk
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T