Enum platforms::target::OS [−][src]
#[non_exhaustive]
pub enum OS {
Show 21 variants
Android,
Cuda,
Dragonfly,
Emscripten,
FreeBSD,
Fuchsia,
Haiku,
Hermit,
Illumos,
iOS,
Linux,
MacOS,
NetBSD,
OpenBSD,
Redox,
Solaris,
TvOS,
Wasi,
Windows,
VxWorks,
Unknown,
}
Expand description
target_os
: Operating system of the target. This value is closely related to the second
and third element of the platform target triple, though it is not identical.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
android
: Google’s Android mobile operating system
cuda
: CUDA parallel computing platform
dragonfly
: DragonflyBSD
emscripten
: The emscripten JavaScript transpiler
freebsd
: The FreeBSD operating system
fuchsia
: Google’s next-gen Rust OS
haiku
: Haiku, an open source BeOS clone
hermit
: HermitCore is a novel unikernel operating system targeting a scalable and predictable runtime behavior for HPC and cloud environments
illumos
: illumos is a partly free and open-source Unix operating system based on OpenSolaris
ios
: Apple’s iOS mobile operating system
linux
: Linux
macos
: Apple’s Mac OS X
netbsd
: The NetBSD operating system
openbsd
: The OpenBSD operating system
redox
: Redox, a Unix-like OS written in Rust
solaris
: Oracle’s (formerly Sun) Solaris operating system
tvOS
: AppleTV operating system
wasi
: The WebAssembly System Interface
windows
: Microsoft’s Windows operating system
vxworks
: VxWorks is a deterministic, priority-based preemptive RTOS with low latency and minimal jitter.
Operating systems we don’t know about
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more