Struct sysinfo::Disk
[−]
[src]
pub struct Disk { /* fields omitted */ }
Methods
impl Disk
[src]
fn get_type(&self) -> DiskType
fn get_name(&self) -> &str
fn get_file_system(&self) -> &str
fn get_mount_point(&self) -> &str
fn get_total_space(&self) -> u64
Returns the total disk size, in bytes.
fn get_available_space(&self) -> u64
Returns the available disk size, in bytes.