Skip to main content

WasiKeyValueView

Trait WasiKeyValueView 

Source
pub trait WasiKeyValueView: Send {
    // Required method
    fn keyvalue(&mut self) -> WasiKeyValueCtxView<'_>;
}
Expand description

A trait which provides internal WASI Key-Value state.

This is implemented by the T in Linker<T> — a single type shared across all WASI components for the runtime build.

Required Methods§

Source

fn keyvalue(&mut self) -> WasiKeyValueCtxView<'_>

Return a WasiKeyValueCtxView from mutable reference to self.

Implementors§