Crate sysinfo

Crate sysinfo 

Source
Expand description

For crate-level documentation, all features need to be enabled.

Modulesยง

common ๐Ÿ”’
debug ๐Ÿ”’
macros ๐Ÿ”’
unix ๐Ÿ”’
utils ๐Ÿ”’

Structsยง

Disk
Struct containing a disk information.
DiskRefreshKind
Used to determine what you want to refresh specifically on the Disk type.
DiskUsage
Type containing read and written bytes.
Disks
Disks interface.

Enumsยง

DiskKind
Enum containing the different supported kinds of disks.

Constantsยง

IS_SUPPORTED_SYSTEM
Returns true if this OS is supported. Please refer to the crate-level documentation to get the list of supported OSes.

Functionsยง

set_open_files_limit
This function is only used on Linux targets, when the system feature is enabled. In other cases, it does nothing and returns false.