Struct sysinfo::Disk[][src]

pub struct Disk { /* fields omitted */ }

Struct containing a disk information.

Trait Implementations

impl Debug for Disk
[src]

Formats the value using the given formatter. Read more

impl DiskExt for Disk
[src]

Returns the disk type.

Returns the disk name.

Returns the file system used on this disk (so for example: EXT4, NTFS, etc...).

Returns the mount point of the disk (/ for example).

Returns the total disk size, in bytes.

Returns the available disk size, in bytes.

Update the disk' information.

Auto Trait Implementations

impl Send for Disk

impl Sync for Disk