Module client

Source

Structs§

Channel
Represents a sender of requests tied to a session, holding onto a weak reference of mailboxes to relay responses, meaning that once the Client is closed or dropped, any sent request will no longer be able to receive responses.
Client
Represents a client that can be used to send requests & receive responses from a server.
ClientBuilder
Builder for a Client or UntypedClient.
ClientConfig
Represents a general-purpose set of properties tied with a client instance.
ConnectionWatcher
Represents a watcher over a ConnectionState.
Mailbox
Represents a destination for responses
PostOffice
TcpConnector
Implementation of Connector to support connecting via TCP.
UnixSocketConnector
Implementation of Connector to support connecting via a Unix socket.
UntypedChannel
Represents a sender of requests tied to a session, holding onto a weak reference of mailboxes to relay responses, meaning that once the Client is closed or dropped, any sent request will no longer be able to receive responses.
UntypedClient
Represents a client that can be used to send requests & receive responses from a server.

Enums§

ConnectionState
Represents the state of a connection.
MailboxTryNextError
Error encountered when invoking [try_recv] for [MailboxReceiver].
ReconnectStrategy
Represents the strategy to apply when attempting to reconnect the client to the server.

Traits§

Connector
Interface that performs the connection to produce a Transport for use by the Client.
Shutdown
Interface representing functionality to shut down an active client.