Crate heim_host

Source
Expand description

Host system information.

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

Modules§

os
OS-specific extensions for public types.

Structs§

Platform
Host system information.
User
User currently connected to system.

Enums§

Arch
target_arch: Target CPU architecture

Functions§

boot_time
Returns future which resolves into the system boot Time since the UNIX epoch.
platform
Returns Future which resolves into Platform struct.
uptime
Returns future which resolves into Time amount from the system boot.
users
Returns stream which yields Users.

Type Aliases§

Pid
Process identifier type.
Time
Quantity type alias using the default base units.