Expand description
Module containing error types that can be triggered.
Modules§
Structs§
- LenError
- Error when different lengths are conflicting with each other (e.g. not enough data in a slice to decode a header).
- Slice
Write Space Error - Error when not enough space is available in a slice to write a packet or header to it.
- Value
TooBig Error - Error if a value exceeds the maximum allowed value.
Enums§
- From
Slice Error - “Catch all” error for all
from_slice
errors (supports automatic conversion from all other slice errors). - Layer
- Layers on which an error can occur.
- Read
Error std
- “Catch all” error for all
from_slice
orread
errors (supports automatic conversion from all other slice errors). - Value
Type - Types of values that have a limited allowed value range
and can cause an
crate::err::ValueTooBigError
.