#[non_exhaustive]
pub enum Type {
Show 35 variants
Alpine,
Amazon,
Android,
Arch,
CentOS,
Debian,
DragonFly,
Emscripten,
EndeavourOS,
Fedora,
FreeBSD,
Gentoo,
HardenedBSD,
Illumos,
Linux,
Macos,
Manjaro,
Mariner,
MidnightBSD,
Mint,
NetBSD,
NixOS,
OpenBSD,
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).
Gentoo
Gentoo Linux (https://en.wikipedia.org/wiki/Gentoo_Linux).
HardenedBSD
Linux based operating system (https://en.wikipedia.org/wiki/Linux).
Illumos
HardenedBSD (https://hardenedbsd.org/)
Linux
Illumos (https://en.wikipedia.org/wiki/Illumos)
Macos
Mac OS X/OS X/macOS (https://en.wikipedia.org/wiki/MacOS).
Manjaro
Manjaro (https://en.wikipedia.org/wiki/Manjaro).
Mariner
Mariner (https://en.wikipedia.org/wiki/CBL-Mariner).
MidnightBSD
Mint
MidnightBSD(https://en.wikipedia.org/wiki/MidnightBSD).
NetBSD
NetBSD (https://en.wikipedia.org/wiki/NetBSD).
NixOS
NixOS (https://en.wikipedia.org/wiki/NixOS).
OpenBSD
OpenBSD (https://en.wikipedia.org/wiki/OpenBSD).
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
sourceimpl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
sourcefn 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
sourceimpl Ord for Type
impl Ord for Type
sourceimpl PartialOrd<Type> for Type
impl PartialOrd<Type> for Type
sourcefn partial_cmp(&self, other: &Type) -> Option<Ordering>
fn partial_cmp(&self, other: &Type) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more