pub enum Os {
Show 18 variants
AIX,
Android,
Darwin,
DragonFlyBSD,
FreeBSD,
Hurd,
Illumos,
iOS,
Js,
Linux,
Nacl,
NetBSD,
OpenBSD,
Plan9,
Solaris,
Windows,
zOS,
Other(String),
}
Expand description
Name of the target operating system.
Variants§
AIX
Android
Darwin
DragonFlyBSD
FreeBSD
Hurd
Illumos
iOS
Js
Linux
Nacl
NetBSD
OpenBSD
Plan9
Solaris
Windows
zOS
Other(String)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Os
impl<'de> Deserialize<'de> for Os
Source§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
impl Eq for Os
impl StructuralPartialEq for Os
Auto Trait Implementations§
impl Freeze for Os
impl RefUnwindSafe for Os
impl Send for Os
impl Sync for Os
impl Unpin for Os
impl UnwindSafe for Os
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)