Crate marine_rs_sdk_main[][src]

Expand description

The main part of Fluence backend SDK. Contains export_allocator, logger and result modules.

Macros

Structs

The Wasm logger builder.

Constants

By default, logger will be initialized with log level from this environment variable.

Functions

Allocates memory area of specified size and type and returns its address. The allocated memory region is intended to be use as a Vec.

Type Definitions

Mapping from logging namespace string to its bitmask. TODO: use i64 for bitmask when wasmpack/bindgen issue with i64 is fixed. Currently, i64 doesn’t work on some versions of V8 because log_utf8_string function isn’t marked as #[wasm_bindgen]. In result, TS/JS code throws ‘TypeError’ on every log.