Settings
Help

Module connection

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.