Struct jsonrpc_stdio_server::ServerBuilder[][src]

pub struct ServerBuilder<M: Metadata = (), T: Middleware<M> = NoopMiddleware> { /* fields omitted */ }
Expand description

Stdio server builder

Implementations

Returns a new server instance

Returns a server future that needs to be polled in order to make progress.

Will block until EOF is read or until an error occurs. The server reads from STDIN line-by-line, one request is taken per line and each response is written to STDOUT on a new line.

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

Performs the conversion.

Performs the conversion.

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.