Expand description
Traits for Ser/Deser wire protocols
Enums§
Traits§
- Located
Parsing Error - 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 - Readable
Pdu - Generic trait for Readable Protocol Data Unit that doesn’t need any external input while parsing the packet.
- Readable
PduWith OneInput - Generic trait Readable Protocol Data Unit that does need a single external input
- Readable
PduWith Three Inputs - Generic trait for Readable Protocol Data Unit that does need three external inputs
- Readable
PduWith TwoInputs - Generic trait for Readable Protocol Data Unit that does need two external inputs
- Writable
Pdu - Generic trait for Writable Protocol Data Unit that doesn’t need any external input while writing the packet.
- Writable
PduWith OneInput - Generic trait for Writable Protocol Data Unit that doesn’t need any external input while writing the packet.
- Writable
PduWith TwoInputs - Generic trait for Writable Protocol Data Unit that doesn’t need any external input while writing the packet.
Functions§
- parse_
into_ located - parse_
into_ located_ one_ input - parse_
into_ located_ three_ inputs - parse_
into_ located_ two_ inputs - parse_
till_ empty - Keep repeating the parser till the buf is empty
- parse_
till_ empty_ into_ located - Keep repeating the parser till the buf is empty
- parse_
till_ empty_ into_ with_ one_ input_ located - Keep repeating the parser till the buf is empty
- parse_
till_ empty_ into_ with_ three_ inputs_ located - Keep repeating the parser till the buf is empty
- parse_
till_ empty_ into_ with_ two_ inputs_ located - Keep repeating the parser till the buf is empty
- parse_
till_ empty_ with_ one_ input - Keep repeating the parser till the buf is empty