Expand description
Hooks for the RPC system.
Roughly corresponds to capability.h in the C++ implementation.
Structs§
- Client
- An untyped client.
- Dispatch
Call Result - The return value of Server::dispatch_call().
- Params
- The values of the parameters passed to a method call, as seen by the server.
- Promise
- A computation that might eventually resolve to a value of type
T
or to an error of typeE
. Dropping the promise cancels the computation. - Remote
Promise - A promise for a result from a method call.
- Request
- A method call that has not been sent yet.
- Response
- A response from a method call, as seen by the client.
- Results
- The return values of a method, written in-place by the method body.
- Streaming
Request - A method call that has not been sent yet.
Traits§
- From
Client Hook - Trait implemented (via codegen) by all user-defined capability client types.
- From
Server - Trait to track the relationship between generated Server traits and Client structs.
- From
Typeless Pipeline - Server
- An untyped server.
Functions§
- get_
resolved_ cap - 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()
.