Expand description
Nardol is a framework built on top of Tcp from std::net mostly providing structure to data sent and received.
Nardol is named after one of warning beacons of Gondor as those were also mean of communicating.
Structs§
- Used as an Error type throughout this library.
- Gives structure to data to be sent or received from
stream
.
Enums§
Traits§
- Trait that needs to be implemented for type that will be used as
content
inside amessage
. - Trait with default method, that allows to create an implementor from given RON.
- Trait that needs to be implemented for type that will be used as
metadata
inside amessage
. - Trait that allows implementor to send and receive itself via TcpStream with provided TcpMessage::send and TcpMessage::receive.
- Trait with default methods that allow implementors parse them to RON format.
- Trait that allows implementor to send and receive itself on UdpSocket with provided methods.