Skip to main content

Module host

Expand description

Host facts, directories, user identity, resources, and autostart primitives.

Callers ask what is true of this host and this process – who am I, am I elevated – and decide for themselves what that means. Whether the answer came from a uid comparison or a token query is not something a caller should have to know, or be able to tell.

Re-exports§

pub use crate::host_boot_id as boot_id;
pub use crate::host_current_process_privilege as current_process_privilege;
pub use crate::host_environment_keys_are_case_insensitive as environment_keys_are_case_insensitive;
pub use crate::host_filesystem_device_id as filesystem_device_id;
pub use crate::host_hostname as hostname;
pub use crate::host_login_environment as login_environment;
pub use crate::host_machine_id as machine_id;
pub use crate::host_namespace_id as namespace_id;
pub use crate::host_user_machine_identity as user_machine_identity;
pub use crate::HostPrivilegedIdentity as PrivilegedIdentity;
pub use crate::host_login_environment_block as login_environment_block;