Enum os_info::Type [−][src]
#[non_exhaustive] pub enum Type {}Show variants
Alpine, Amazon, Android, Arch, CentOS, Debian, DragonFly, Emscripten, EndeavourOS, Fedora, FreeBSD, Linux, Macos, Manjaro, Mint, 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
Expand description
Alpine Linux (https://en.wikipedia.org/wiki/Alpine_Linux).
Expand description
Amazon Linux AMI (https://en.wikipedia.org/wiki/Amazon_Machine_Image#Amazon_Linux_AMI).
Expand description
Expand description
Arch Linux (https://en.wikipedia.org/wiki/Arch_Linux).
Expand description
CentOS (https://en.wikipedia.org/wiki/CentOS).
Expand description
Debian (https://en.wikipedia.org/wiki/Debian).
Expand description
DragonFly BSD (https://en.wikipedia.org/wiki/DragonFly_BSD).
Expand description
Emscripten (https://en.wikipedia.org/wiki/Emscripten).
Expand description
EndeavourOS (https://en.wikipedia.org/wiki/EndeavourOS).
Expand description
Expand description
FreeBSD (https://en.wikipedia.org/wiki/FreeBSD).
Expand description
Linux based operating system (https://en.wikipedia.org/wiki/Linux).
Expand description
Mac OS X/OS X/macOS (https://en.wikipedia.org/wiki/MacOS).
Expand description
Manjaro (https://en.wikipedia.org/wiki/Manjaro).
Expand description
Expand description
NixOS (https://en.wikipedia.org/wiki/NixOS).
Expand description
openSUSE (https://en.wikipedia.org/wiki/OpenSUSE).
Expand description
Oracle Linux (https://en.wikipedia.org/wiki/Oracle_Linux).
Expand description
Pop!_OS (https://en.wikipedia.org/wiki/Pop!_OS)
Expand description
Raspberry Pi OS (https://en.wikipedia.org/wiki/Raspberry_Pi_OS).
Expand description
Red Hat Linux (https://en.wikipedia.org/wiki/Red_Hat_Linux).
Expand description
Red Hat Enterprise Linux (https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux).
Expand description
Expand description
Expand description
SUSE Linux Enterprise Server (https://en.wikipedia.org/wiki/SUSE_Linux_Enterprise).
Expand description
Expand description
Unknown operating system.
Expand description
Trait Implementations
impl<'de> Deserialize<'de> for Type
[src]
impl<'de> Deserialize<'de> for Type
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Ord for Type
[src]
impl Ord for Type
[src]impl PartialOrd<Type> for Type
[src]
impl PartialOrd<Type> for Type
[src]fn partial_cmp(&self, other: &Type) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Type) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Type
[src]
impl Eq for Type
[src]
impl StructuralEq for Type
[src]
impl StructuralPartialEq for Type
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,