pub trait WasmContext<Value = Empty> where
    Value: Message
{ fn from_size(size: usize) -> Self;
fn size(&self) -> usize; fn try_value(&self) -> Result<Value, CodeMsg> { ... }
fn call_vm<M, R>(&self, method: i32, data: M) -> Result<R, CodeMsg>
    where
        M: Message,
        R: Message
, { ... } }
Expand description

WasmContext is wasm context abstraction.

Required methods

Provided methods

Implementors