Crate protocol [−] [src]
Simple packet-based protocol definitions in Rust.
- The
packet
module deals with defining packets. - The
wire
module deals with transmission of packets.
Modules
primitives | |
wire |
Macros
define_composite_type |
Defines a type built out of other primitives. |
define_middleware_pipeline | |
define_packet | |
define_packet_kind |
Defines a packet kind enum. |
implement_composite_type |
Implements |
Structs
CharTryFromError |
Copy of CharTryFromError that works in stable rust |
DynArray |
An dynamic array type with a custom size prefix type. |
Error |
The Error type. |
String |
A string with a custom size prefix integer type.
|
TryFromIntError |
Copy of TryFromIntError that works in stable rust |
Enums
ErrorKind |
The kind of an error. |
Traits
Integer | |
Parcel |
A value which can be read and written. |
ResultExt |
Additional methods for |
Type Definitions
ByteOrder |
The default byte ordering. |