Skip to main content

Module error

Module error 

Source
Expand description

Error types.

Decoding works on untrusted bytes from the network, so every failure is a value of DecodeError; nothing in the decode path panics.

Enumsยง

DecodeError
Failure while decoding a value from bytes.
EncodeError
Failure while encoding a value.
FrameError
Failure in the framing layer (length prefix, compression, encryption).