Module error

Source
Expand description

Errors that can be returned by functions in dlt_parse.

Re-exports§

pub use super::*;

Structs§

DltMessageLengthTooSmallError
Error if the length field in a DLT headeris smaller then the header the calculated header size based on the flags (+ minimum payload size of 4 bytes/octetets)
StorageHeaderStartPatternError
Error that occurs when another pattern then crate::storage::StorageHeader::PATTERN_AT_START is encountered at the start when parsing a StorageHeader.
UnexpectedEndOfSliceError
Error if a slice did not contain enough data to decode a value.
UnsupportedDltVersionError
Error that is triggered when an unsupported DLT version is encountred when parsing.

Enums§

Layer
Error in which an error occured.
PacketSliceError
Errors that can occur when slicing a DLT packet.
RangeError
Error that can occur when an out of range value is passed to a function.
ReadError
Errors that can occure on reading a dlt header.
TypedPayloadError
Error that can occur when trying to get a crate::DltTypedPayload from a crate::DltPacketSlice.
VerboseDecodeError