Skip to main content

Module simple

Module simple 

Source
Expand description

The simple custom-TCP/UDP network transport.

Structs§

Codec
An encoder/decoder of RpcMessages for the RPC protocol.
Server
A server handling RPC requests over a simple (UDP or TCP) transport.
ServerHandle
The result of spawning a server is oneshot channel to track completion, and the set of executing tasks.
SimpleClient
A client communicating with validators over a simple (UDP or TCP) transport.
SimpleNodeProvider
A client without an address - serves as a client factory.
TcpServer
Server implementation for TCP.
UdpServer
Server implementation for UDP.

Enums§

Error
Errors that can arise during transmission or reception of RpcMessages.
TransportProtocol
The transport protocols supported by the simple network.

Constants§

DEFAULT_MAX_DATAGRAM_SIZE
Suggested buffer size

Traits§

ConnectionPool
A pool of (outgoing) data streams.
MessageHandler
The handler required to create a service.
Transport
A trait alias for a protocol transport.