[][src]Crate wascc_codec

wascc-codec

This library provides the core set of types and associated functions used to facilitate actor and host runtime communication for waSCC.

Modules

blobstore

Binary object storage and streaming

capabilities

Common types used for managing native capability providers

core

Core data types

eventstreams

Event Streaming

extras

Extras

http

HTTP server capability data structures

keyvalue

Key-Value Store Data Types

logging

Logging Data Types

messaging

Message Broker Data Types

Macros

capability_provider

Wraps a constructor inside an FFI function to allow the CapabilityProvider trait implementation to be instantiated and used by the host runtime

Constants

SYSTEM_ACTOR

The string used for the originator of messages dispatched by the host runtime

VERSION

The version of the codec as seen on crates.io

Traits

Sample

Functions

deserialize

The standard function for de-serializing codec structs from a format suitable for message exchange between actor and host. Use of any other function to deserialize could result in breaking incompatibilities.

serialize

The standard function for serializing codec structs into a format that can be used for message exchange between actor and host. Use of any other function to serialize could result in breaking incompatibilities.