Module rpc

Source
Expand description

Remote Procedure Call functionality.

Structs§

PendingFailableRpc
The result future of an RpcSend::call_failable call.
PendingRpc
The result future of an RpcSend::call call.
Rpc
An RPC message for a request with input of type I and output of type R. The receiver of the message should process the request and return results via the Sender<R>.

Enums§

RpcError
An error from an RPC call, via RpcSend::call_failable or RpcSend::call.

Traits§

RpcSend
A trait implemented by objects that can send RPC requests.
TryRpcSend
A trait implemented by objects that can try to send RPC requests but may fail.

Type Aliases§

FailableRpc
An RPC message with a failable result.