Crate marine_core

Source

Re-exports§

pub use crate::wasmtime::*;

Modules§

generic
ne_vec
wasmtime

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§

IFunctionArg
Represents the function argument type.
IRecordFieldType
Represents a record field type.
IRecordType
Represents a record type.
MFunctionSignature
Represent a function type inside Marine module.
MModuleInterface
Represent Marine module interface.
MarineCoreConfig
MemoryStats
ModuleMemoryStat
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§

HostAPIVersion
HostImportError
IType
Represents the types supported by WIT.
IValue
A WIT value.
MError

Constants§

INFINITE_MEMORY_LIMIT

Functions§

from_interface_values
Deserialize a set of IValues to a type T that implements the Deserialize trait.
to_interface_value
Serialize a type T that implements the Serialize trait to an IValue.

Type Aliases§

MRecordTypes