Enum os_info::Type [−][src]
#[non_exhaustive]
pub enum Type {
Show 29 variants
Alpine,
Amazon,
Android,
Arch,
CentOS,
Debian,
DragonFly,
Emscripten,
EndeavourOS,
Fedora,
FreeBSD,
Linux,
Macos,
Manjaro,
Mint,
NetBSD,
NixOS,
openSUSE,
OracleLinux,
Pop,
Raspbian,
Redhat,
RedHatEnterprise,
Redox,
Solus,
SUSE,
Ubuntu,
Unknown,
Windows,
}
Expand description
A list of supported operating system types.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Alpine
Alpine Linux (https://en.wikipedia.org/wiki/Alpine_Linux).
Amazon
Amazon Linux AMI (https://en.wikipedia.org/wiki/Amazon_Machine_Image#Amazon_Linux_AMI).
Android
Arch
Arch Linux (https://en.wikipedia.org/wiki/Arch_Linux).
CentOS
CentOS (https://en.wikipedia.org/wiki/CentOS).
Debian
Debian (https://en.wikipedia.org/wiki/Debian).
DragonFly
DragonFly BSD (https://en.wikipedia.org/wiki/DragonFly_BSD).
Emscripten
Emscripten (https://en.wikipedia.org/wiki/Emscripten).
EndeavourOS
EndeavourOS (https://en.wikipedia.org/wiki/EndeavourOS).
Fedora
FreeBSD
FreeBSD (https://en.wikipedia.org/wiki/FreeBSD).
Linux
Linux based operating system (https://en.wikipedia.org/wiki/Linux).
Macos
Mac OS X/OS X/macOS (https://en.wikipedia.org/wiki/MacOS).
Manjaro
Manjaro (https://en.wikipedia.org/wiki/Manjaro).
Mint
NetBSD
NetBSD (https://en.wikipedia.org/wiki/NetBSD).
NixOS
NixOS (https://en.wikipedia.org/wiki/NixOS).
openSUSE
openSUSE (https://en.wikipedia.org/wiki/OpenSUSE).
OracleLinux
Oracle Linux (https://en.wikipedia.org/wiki/Oracle_Linux).
Pop
Pop!_OS (https://en.wikipedia.org/wiki/Pop!_OS)
Raspbian
Raspberry Pi OS (https://en.wikipedia.org/wiki/Raspberry_Pi_OS).
Redhat
Red Hat Linux (https://en.wikipedia.org/wiki/Red_Hat_Linux).
RedHatEnterprise
Red Hat Enterprise Linux (https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux).
Redox
Solus
SUSE
SUSE Linux Enterprise Server (https://en.wikipedia.org/wiki/SUSE_Linux_Enterprise).
Ubuntu
Unknown
Unknown operating system.
Windows
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more