Trait linera_witty::MockResults

source ·
pub trait MockResults {
    type Results;
}
Expand description

A helper trait to serve as an equivalent to crate::wasmer::WasmerResults and crate::wasmtime::WasmtimeResults for the MockInstance.

This is in order to help with writing tests generic over the Wasm guest instance type.

Required Associated Types§

source

type Results

The mock native type of the results for the MockInstance.

Implementors§

source§

impl<T> MockResults for T

§

type Results = T