Expand description
Conveniences for writing protosocket servers.
See example-telnet for the simplest full example of the entire workings, or example-proto for an example of how to use this crate with protocol buffers.
Structs§
- Protosocket
Server - A
protosocket::Connection
is an IO driver. It directly uses tokio’s io wrapper of mio to poll the OS’s io primitives, manages read and write buffers, and vends messages to & from connections. Connections send messages to the ConnectionServer through an mpsc channel, and they receive inbound messages via a reactor callback.
Enums§
- Error
- Error type for protosocket-server.
Traits§
Type Aliases§
- Result
- Result type for protosocket-server.