pub enum OperatingSystem {
Show 23 variants
None,
Android,
Atari,
Ceph,
Chrome,
CoreOs,
Custom(String),
FreeBsd,
FreeDesktop,
Haiku,
HpUnix,
Linux,
MidnightBsd,
MacOs,
NetBsd,
Onie,
OpenBsd,
Plan9,
PowerPc,
Solaris,
VmWare,
Windows,
QNX,
}
Expand description
Operating System
Variants§
None
No OS
Android
Android OS
Atari
Atari
Ceph
Ceph
Chrome
ChromeOS
CoreOs
CoreOs
Custom(String)
Custom
FreeBsd
FreeBsd
FreeDesktop
FreeDesktop
Haiku
Haiku
HpUnix
Hp Unix
Linux
Linux
MidnightBsd
MidnightBsd
MacOs
MacOs
NetBsd
NetBsd
Onie
Onie
OpenBsd
OpenBSD
Plan9
Plan9
PowerPc
PowerPC
Solaris
Solaris
VmWare
VmWare
Windows
Windows
QNX
QNX
Trait Implementations§
Source§impl Clone for OperatingSystem
impl Clone for OperatingSystem
Source§fn clone(&self) -> OperatingSystem
fn clone(&self) -> OperatingSystem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OperatingSystem
impl Debug for OperatingSystem
Source§impl FromStr for OperatingSystem
impl FromStr for OperatingSystem
Source§impl Hash for OperatingSystem
impl Hash for OperatingSystem
Source§impl PartialEq for OperatingSystem
impl PartialEq for OperatingSystem
impl Eq for OperatingSystem
impl StructuralPartialEq for OperatingSystem
Auto Trait Implementations§
impl Freeze for OperatingSystem
impl RefUnwindSafe for OperatingSystem
impl Send for OperatingSystem
impl Sync for OperatingSystem
impl Unpin for OperatingSystem
impl UnwindSafe for OperatingSystem
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
)