Expand description
RPC connection support, mainloop, and protocol implementation.
ModulesΒ§
- auth π
- RPC commands and related functionality for authentication.
- methods π
- Implementations for methods on Connection.
StructsΒ§
- Connection
- An open connection from an RPC client.
- Connection
Id π - A random value used to identify an connection.
- Inner π
- The inner, lock-protected part of an RPC connection.
- Missing
Features πError - An error returned when an RPC request lists some feature as required, but we donβt have every such feature.
- Request
Cancelled π - An error given when an RPC request is cancelled.
EnumsΒ§
- Cancel
Error π - An error given when we attempt to cancel an RPC request, but cannot.
- Connection
Error - A failure that results in closing a
Connection
. - MgrDisappeared
Error π - A failure from trying to upgrade a
Weak<RpcMgr>
.
ConstantsΒ§
- UPDATE_
CHAN_ πSIZE - How many updates can be pending, per connection, before they start to block?
Type AliasesΒ§
- Boxed
Request πStream - A type-erased [
FusedStream
] yieldingRequest
s. - Boxed
Response πSink - A type-erased [
Sink
] acceptingBoxedResponse
s.