pub struct DistantManagerClient { /* private fields */ }
Expand description

Represents a client that can connect to a remote distant manager

Implementations

Initializes a client using the provided [UntypedTransport]

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 to connect to

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

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

Note

Multiple calls to open a channel against the same connection will result in clones of the same DistantChannel rather than establishing a duplicate remote connection to the same server

Establishes a channel with the server represented by the connection_id, returning a [Transport] acting as the connection

Note

Multiple calls to open a channel against the same connection will result in establishing a duplicate remote connections 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

Requests that the manager shuts down

Trait Implementations

Executes the destructor for this type. Read more

Connect to a remote TCP server using the provided information

Connect to a remote TCP server, timing out after duration has passed

Connect to a proxy unix socket

Connect to a proxy unix socket, timing out after duration has passed

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Converts reference to Any

Converts mutable reference to Any

Consumes and produces Box<dyn Any>

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more