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