pub struct ServerBuilder<M: Metadata = (), S: Middleware<M> = Noop> { /* private fields */ }
Expand description

TCP server builder

Implementations

Creates new ServerBuilder wih given IoHandler

Creates new ServerBuilder wih given IoHandler

Utilize existing event loop executor.

Sets session meta extractor

Sets the incoming and outgoing requests separator

Starts a new server

Returns dispatcher

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.

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.