pub async fn kind() -> Result<OsKind, Error>
Expand description
Returns OsKind::Linux
on Linux, OsKind::Darwin
on macOS, and OsKind::WindowsNT
on Windows.
pub async fn kind() -> Result<OsKind, Error>
Returns OsKind::Linux
on Linux, OsKind::Darwin
on macOS, and OsKind::WindowsNT
on Windows.