Crate wasmbus_rpc[][src]

Expand description

Wasmcloud Weld runtime library

This crate provides code generation and runtime support for wasmcloud rpc messages used by wasmcloud actors and capability providers.

Modules

Simple logging for multi-threaded programs that sends all logs through a crossbeam channel to a logging thread. This works with the existing log macros (debug!, etc.), which can be sent by any thread.

client is the caller side of any interface

context data

common provider wasmbus support

Structs

A wasmcloud message

Timestamp - represents absolute time in UTC, as non-leap seconds and nanoseconds since the UNIX EPOCH

Enums

An error that can occur in the processing of an RPC. This is not request-specific errors but rather cross-cutting errors that can always occur.

Constants

This crate’s published version

Traits

Transport determines how messages are sent Alternate implementations could be mock-server, or test-fuzz-server / test-fuzz-client

Functions

convert json args to msgpack

convert message response to json

Type Definitions