[][src]Crate wascap_codec

wascap-codec

This library provides the core set of types and associated functions used to facilitate guest module and host runtime communication for Waxosuit.

Modules

capabilities

Traits used for capabilities and capability providers

core

Core data types

http

HTTP server capability data structures

keyvalue

Key-Value Store 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

Traits

AsCommand

A trait that allows a protobuf message to be wrapped as a payload inside a command

AsEvent

A trait that allows a protobuf message to be wrapped as a payload inside an event

Functions

create_command

Creates a new Command from any arbitrary protobuf message

create_event

Creates a new Event from any arbitrary protobuf message

pack_any