[][src]Crate holochain_wasmer_guest

Modules

allocation
bytes
json
result
string

Macros

host_args

given a host allocation pointer and a type that implements TryFrom

host_call
host_externs
host_string
memory_externs
ret
ret_err
try_result

Structs

JsonString

track json serialization with the rust type system! JsonString wraps a string containing JSON serialized data avoid accidental double-serialization or forgetting to serialize serialize any type consistently including hard-to-reach places like Option and Result JsonString must not itself be serialized/deserialized instead, implement and use the native From trait to move between types

Enums

JsonError
WasmError

Enum of all possible ERROR codes that a Zome API Function could return.

WasmResult

Functions

map_bytes

given a pointer to an allocation on the host, copy the allocation into the guest and return the guest's pointer to it

Type Definitions

AllocationPtr
Len
Ptr