pub enum OsType {
Linux,
Windows,
Macos,
IOS,
Android,
}Expand description
The type of the current operating system, as returned by type_.
Variants§
Linux
Linux and Linux-based systems such as FreeBSD, DragonFly BSD, NetBSD and OpenBSD.
Windows
Windows.
Macos
macOS.
IOS
iOS.
Android
Android.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OsType
impl RefUnwindSafe for OsType
impl Send for OsType
impl Sync for OsType
impl Unpin for OsType
impl UnsafeUnpin for OsType
impl UnwindSafe for OsType
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