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

Represents a manager of multiple server connections.

Implementations

Creates a new Server starting with a default configuration and no authentication methods. The provided config will be used to configure the launch and connect handlers for the server as well as provide other defaults.

Trait Implementations

Type of data received by the server
Type of data sent back by the server
Type of data to store locally tied to the specific connection
Invoked upon receiving a request from a client. The server should process this request, which can be found in ctx, and send one or more replies in response. Read more
Invoked upon a new connection becoming established. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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.