Crate wascc_codec[−][src]
wascc-codec
This library provides the core set of types and associated functions used for the common set of functionality between the host runtime and capability providers. Data types and models that need to be shared between guest and hosts should be generated and should not show up in this crate.
Modules
capabilities | Common types used for managing native capability providers |
core | Core Constants |
Macros
capability_provider | Wraps a constructor inside an FFI function to allow the |
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 |
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. |