Module err

Source
Expand description

Module containing error types that can be triggered.

Modules§

arp
iostd
ip
ip_auth
ip_exts
ipv4
ipv6
ipv4_exts
ipv6_exts
linux_sll
macsec
net
packet
tcp

Structs§

LenError
Error when different lengths are conflicting with each other (e.g. not enough data in a slice to decode a header).
SliceWriteSpaceError
Error when not enough space is available in a slice to write a packet or header to it.
ValueTooBigError
Error if a value exceeds the maximum allowed value.

Enums§

FromSliceError
“Catch all” error for all from_slice errors (supports automatic conversion from all other slice errors).
Layer
Layers on which an error can occur.
ReadErrorstd
“Catch all” error for all from_slice or read errors (supports automatic conversion from all other slice errors).
ValueType
Types of values that have a limited allowed value range and can cause an crate::err::ValueTooBigError.