Enum build_target::Os [−][src]
#[non_exhaustive]
pub enum Os<'a> {
}
Expand description
Operating system of the target.
Note
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
bitrig
: OpenBSD-based operating system
cloudabi
: Nuxi CloudABI runtime environment
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
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
windows
: Microsoft’s Windows operating system
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
impl<'a> RefUnwindSafe for Os<'a>
impl<'a> UnwindSafe for Os<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more