Module distant_net::client

source ·

Structs

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.
Represents a client that can be used to send requests & receive responses from a server.
Represents a watcher over a ConnectionState.
Represents a destination for responses
Implementation of Connector to support connecting via TCP.
Implementation of Connector to support connecting via a Unix socket.
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.
Represents a client that can be used to send requests & receive responses from a server.

Enums

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

Traits

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