Trait Runtime

Source
pub trait Runtime: Sized {
    type Export;
    type Memory;
}
Expand description

A Wasm runtime.

Shared types between different guest instances that use the same runtime.

Required Associated Types§

Source

type Export

A handle to something exported from a guest Wasm module.

Source

type Memory

A handle to the guest Wasm module’s memory.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§