Crate netgauze_parse_utils
source ·Expand description
Traits for Ser/Deser wire protocols
Enums§
Traits§
- Located Parsing error is the error raised by parsing a given buffer and a reference to the location where it occurred. The offset of the buffer in the
Span
should refer (as much as possible) to the first byte where the error started - Generic trait for Readable Protocol Data Unit that doesn’t need any external input while parsing the packet.
- Generic trait Readable Protocol Data Unit that does need a single external input
- Generic trait for Readable Protocol Data Unit that does need three external inputs
- Generic trait for Readable Protocol Data Unit that does need two external inputs
- Generic trait for Writable Protocol Data Unit that doesn’t need any external input while writing the packet.
- Generic trait for Writable Protocol Data Unit that doesn’t need any external input while writing the packet.
- Generic trait for Writable Protocol Data Unit that doesn’t need any external input while writing the packet.
Functions§
- Keep repeating the parser till the buf is empty
- Keep repeating the parser till the buf is empty
- Keep repeating the parser till the buf is empty
- Keep repeating the parser till the buf is empty
- Keep repeating the parser till the buf is empty
- Keep repeating the parser till the buf is empty