Crate heim_disk

Source
Expand description

Disks information.

This module is enabled with the disk feature flag (enabled by default).

Modules§

os
OS-specific extension for crate types.

Structs§

IoCounters
Disk I/O counters.
Partition
Mounted disk partition.
Usage
Disk usage statistics.

Enums§

FileSystem
Known filesystems.

Functions§

io_counters
Returns stream which will yield IO counters for all disks available in system.
io_counters_physical
Returns future which will resolve into IO counters for each physical disk installed on the system.
partitions
Returns stream which yields mounted disk Partitions.
partitions_physical
Returns stream which yields physical only mounted disk Partitions.
usage
Returns disk Usage statistics about the partition which contains the given path.

Type Aliases§

Information
Quantity type alias using the default base units.
Ratio
Quantity type alias using the default base units.