Module server

Source
Available on crate feature server only.
Expand description

§Server

This module contains everything related to servers. The server runs the timer, accepts connections from clients and sends responses. It accepts connections using server binders. A server should have at least one binder, otherwise it stops by itself.

Modules§

tcptcp-binder
TCP binder

Structs§

Server
The server struct.
ServerBuilder
The server builder.
ServerConfig
The server configuration.
ThreadSafeState
Thread safe version of the server state.

Enums§

ServerEvent
The server state changed event.
ServerState
The server state enum.

Traits§

ServerBind
The server bind trait.
ServerStream
The server stream trait.