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

IPC server builder

Implementations

Creates new IPC server build given the IoHandler.

Creates new IPC server build given the IoHandler and metadata extractor.

Sets shared different event loop executor.

Sets session metadata extractor.

Session stats

Sets the incoming and outgoing requests separator

Sets the security attributes for the underlying IPC socket/pipe

Sets how many concurrent requests per client can be processed at any one time. Set to 5 by default.

Creates a new server from the given endpoint.

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.