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.
- Server
Handle - The result of spawning a server is oneshot channel to track completion, and the set of executing tasks.
- Simple
Client - A client communicating with validators over a simple (UDP or TCP) transport.
- Simple
Node Provider - 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. - Transport
Protocol - The transport protocols supported by the simple network.
Constants§
- DEFAULT_
MAX_ DATAGRAM_ SIZE - Suggested buffer size
Traits§
- Connection
Pool - A pool of (outgoing) data streams.
- Message
Handler - The handler required to create a service.
- Transport
- A trait alias for a protocol transport.