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.