Crate marine[][src]

Modules

ne_vec

Macros

call_wasm_func

Call Wasm function that have Box<RefCell<Option<Func<’static, args, rets>>>> type.

init_wasm_func_once

Initialize Wasm function in form of Box<RefCell<Option<Func<’static, args, rets>>>> only once.

Structs

HostImportDescriptor
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.

MModuleConfig
MModuleInterface

Represent Marine module interface.

Marine

The base struct of Marine, the Fluence compute runtime.

Enums

HostImportError
IType

Represents the types supported by WIT.

IValue

A WIT value.

MError

Functions

from_interface_values

Deserialize a set of IValues to a type T that implements the Deserialize trait.

min_it_version

Return minimal support version of interface types.

min_sdk_version

Return minimal support version of SDK.

to_interface_value

Serialize a type T that implements the Serialize trait to an IValue.

Type Definitions

HostExportedFunc
RecordTypes