#[non_exhaustive]pub enum Runtime {
Beam,
Deno,
Dotnet,
Jvm,
Node,
WebAssembly,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Beam
The BEAM (aka Erlang/OTP) runtime.
Deno
Available on crate feature
unstable only.The Deno runtime.
See: https://deno.com/
Dotnet
Available on crate feature
unstable only.The .NET runtime.
Jvm
Available on crate feature
unstable only.The JVM (Java Virtual Machine) runtime.
See: https://java.com/
Node
The Node.js runtime.
See: https://nodejs.org/
WebAssembly
The WebAssembly (aka Wasm) runtime.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Runtime
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Runtime
Available on crate feature
serde only.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 Runtime
Source§impl Ord for Runtime
impl Ord for Runtime
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Runtime
impl PartialOrd for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
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