Skip to main content

Module error

Module error 

Source

Enums§

CodecError
ExpectedLen
What length(s) a Data Item is permitted to take on the wire, used for CodecError::InvalidDataItemLength reporting. Several DLEP Data Items are not fixed-width — Connection Points are 5 or 7, Status / Peer Type are “at least 1”, Extensions Supported is a multiple of 2 — so a single expected: usize would be misleading.