Module connection

Source
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.
ConnectionId 🔒
A random value used to identify an connection.
Inner 🔒
The inner, lock-protected part of an RPC connection.
MissingFeaturesError 🔒
An error returned when an RPC request lists some feature as required, but we don’t have every such feature.
RequestCancelled 🔒
An error given when an RPC request is cancelled.

Enums§

CancelError 🔒
An error given when we attempt to cancel an RPC request, but cannot.
ConnectionError
A failure that results in closing a Connection.
MgrDisappearedError 🔒
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§

BoxedRequestStream 🔒
A type-erased [FusedStream] yielding Requests.
BoxedResponseSink 🔒
A type-erased [Sink] accepting BoxedResponses.