Trait parity_wasm::interpreter::ExternalVariableValue [] [src]

pub trait ExternalVariableValue {
    fn get(&self) -> RuntimeValue;
fn set(&mut self, value: RuntimeValue) -> Result<(), Error>; }
Deprecated since 0.23

: Use wasmi crate to interpret wasm

Externally stored variable value.

WebAssembly specificaiton requires that if a global variable is immutable, then it should remain unchanged. To comply with specification you should ensure this invariant holds.

Required Methods

Deprecated since 0.23

: Use wasmi crate to interpret wasm

Get variable value.

Deprecated since 0.23

: Use wasmi crate to interpret wasm

Set variable value.

Implementors