Expand description
Cap’n Proto serialization traits and helpers.
Enums§
- RpcError
- RPC-specific error types.
Traits§
- Capnp
Result Ext - Extension trait for adding RPC error context to Results.
- From
Capnp - Trait for deserializing Cap’n Proto to Rust types.
- ToCapnp
- Trait for serializing Rust types to Cap’n Proto.
Functions§
- build_
error_ response - Build a standard error response.
- serialize_
message - Serialize a Cap’n Proto message to bytes using a closure.