Trait linera_witty::wasmtime::WasmtimeParameters
source · pub trait WasmtimeParameters {
type Parameters: WasmParams;
// Required methods
fn into_wasmtime(self) -> Self::Parameters;
fn from_wasmtime(parameters: Self::Parameters) -> Self;
}
Expand description
Conversions between flat layouts and Wasmtime parameter types.
Required Associated Types§
sourcetype Parameters: WasmParams
type Parameters: WasmParams
The type Wasmtime uses to represent the parameters.
Required Methods§
sourcefn into_wasmtime(self) -> Self::Parameters
fn into_wasmtime(self) -> Self::Parameters
Converts from this flat layout into Wasmtime’s representation.
sourcefn from_wasmtime(parameters: Self::Parameters) -> Self
fn from_wasmtime(parameters: Self::Parameters) -> Self
Converts from Wasmtime’s representation into a flat layout.
Object Safety§
This trait is not object safe.