Function sys_info::os_type [] [src]

pub fn os_type() -> Result<String, Error>

Get operation system type.

Such as "Linux", "Darwin", "Windows".