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.
Builder for a
Client or UntypedClient.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.