Module tarpc::client

source ·
Expand description

Provides a client that connects to a server and sends multiplexed requests.

Modules

  • Provides a Stub trait, implemented by types that can call remote services.

Structs

  • Handles communication from the client to request dispatch.
  • Settings that control the behavior of the client.
  • A channel and dispatch pair. The dispatch drives the sending and receiving of requests and must be polled continuously or spawned.
  • Handles the lifecycle of requests, writing requests to the wire, managing cancellations, and dispatching responses to the appropriate channel.

Enums

  • An error that can occur in the processing of an RPC. This is not request-specific errors but rather cross-cutting errors that can always occur.

Functions

  • Returns a channel and dispatcher that manages the lifecycle of requests initiated by the channel.