Type Definition distant_net::manager::ManagerClient

source ·
pub type ManagerClient = Client<ManagerRequest, ManagerResponse>;
Expand description

Represents a client that can connect to a remote server manager.

Implementations

Request that the manager launches a new server at the given destination with options being passed for destination-specific details, returning the new destination of the spawned server.

The provided handler will be used for any authentication requirements when connecting to the remote machine to spawn the server.

Request that the manager establishes a new connection at the given destination with options being passed for destination-specific details.

The provided handler will be used for any authentication requirements when connecting to the server.

Establishes a channel with the server represented by the connection_id, returning a RawChannel acting as the connection.

Note

Multiple calls to open a channel against the same connection will result in establishing a duplicate channel to the same server, so take care when using this method.

Retrieves a list of supported capabilities

Retrieves information about a specific connection

Kills the specified connection

Retrieves a list of active connections