Re-exports§
pub use crate::wasmtime::*;
Modules§
Macros§
- call_
wasm_ func - Call Wasm function that have Box<RefCell<Option<Func<’static, args, rets>>>> type.
- init_
wasm_ func - Initialize Wasm function in form of Box<RefCell<Option<Func<’static, args, rets>>>>. This macro does not cache result.
Structs§
- IFunction
Arg - Represents the function argument type.
- IRecord
Field Type - Represents a record field type.
- IRecord
Type - Represents a record type.
- MFunction
Signature - Represent a function type inside Marine module.
- MModule
Interface - Represent Marine module interface.
- Marine
Core Config - Memory
Stats - Module
Memory Stat - Contains module name and a size of its linear memory in bytes. Please note that linear memory contains not only heap, but globals, shadow stack and so on. Although it doesn’t contain operand stack, additional runtime (Wasmer) structures, and some other stuff, that should be count separately.
Enums§
- HostAPI
Version - Host
Import Error - IType
- Represents the types supported by WIT.
- IValue
- A WIT value.
- MError
Constants§
Functions§
- from_
interface_ values - Deserialize a set of
IValue
s to a typeT
that implements theDeserialize
trait. - to_
interface_ value - Serialize a type
T
that implements theSerialize
trait to anIValue
.