linera_witty

Trait 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