Module capnp::capability
source · Expand description
Hooks for for the RPC system.
Roughly corresponds to capability.h in the C++ implementation.
Structs§
- An untyped client.
- The values of the parameters passed to a method call, as seen by the server.
- A computation that might eventually resolve to a value of type
T
or to an error of typeE
. Dropping the promise cancels the computation. - A promise for a result from a method call.
- A method call that has not been sent yet.
- A response from a method call, as seen by the client.
- The return values of a method, written in-place by the method body.
Traits§
- Trait implemented (via codegen) by all user-defined capability client types.
- Trait to track the relationship between generated Server traits and Client structs.
- An untyped server.
Functions§
- Gets the “resolved” version of a capability. One place this is useful is for pre-resolving the argument to
capnp_rpc::CapabilityServerSet::get_local_server_of_resolved()
.