Skip to main content

name

Function name 

Source
pub fn name() -> &'static str
Expand description

The operating system’s name and version: “Ubuntu 24.04.1 LTS”, “macOS 15.1 Sequoia”, “Windows 11 Pro”. Never empty, never fails: a minimal container without os-release gives “Linux” (E-47).