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