Module server

Source
Expand description

Server side api

The main entry point is RpcServer

Structs§

Accepting
The result of accepting a new connection.
RpcChannel
A channel for requests and responses for a specific service.
RpcServer
A server for a specific service.
UpdateStream
A stream of updates

Enums§

RpcServerError
Server error. All server DSL methods return a Result with this error type.

Traits§

ChannelTypes
Stream types on the server side

Functions§

run_server_loop
Run a server loop, invoking a handler callback for each request.

Type Aliases§

BoxedChannelTypes
Type alias for when you want to require a boxed channel
BoxedListener
A boxed listener for the given Service
FlumeListenerflume-transport
A flume listener for the given Service
HyperListenerhyper-transport
A hyper listener for the given Service
IrohListeneriroh-transport
An iroh listener for the given Service
QuinnListenerquinn-transport
A quinn listener for the given Service