Module wasmbus_rpc::common
source · Re-exports
pub use crate::document::decode_document;
pub use crate::document::decode_number;
pub use crate::document::encode_document;
pub use crate::document::encode_document_ref;
pub use crate::document::encode_number;
Structs
- Wasmbus rpc sender that can send any message and cbor-serializable payload requires Protocol=“2”
- Context - message passing metadata used by wasmhost Actors and Capability Providers
- A wasmcloud message
- Client config defines the intended recipient of a message and parameters that transport may use to adapt sending it
Enums
- Document Type
- Borrowed Document Type
- Message encoding format
- A number type that implements Javascript / JSON semantics, modeled on serde_json: https://docs.serde.rs/src/serde_json/number.rs.html#20-22
Traits
- Transport determines how messages are sent Alternate implementations could be mock-server, or test-fuzz-server / test-fuzz-client
Functions
- returns serialization format, and offset for beginning of payload