pub trait WithWasmDefault {
// Required method
fn with_wasm_default(self) -> Self;
}Expand description
Trait used to select a default WasmRuntime, if one is available.
Required Methods§
Sourcefn with_wasm_default(self) -> Self
fn with_wasm_default(self) -> Self
Returns the default WasmRuntime if one is available, otherwise leaves the value unchanged.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.