Expand description
Serde and plain-Preserves codec errors.
Enums§
- Representation of parse, deserialization, and other conversion errors.
- Used in Error::Expected to indicate what was expected.
- Used in Error::Expected to indicate what was received.
Functions§
- Produce an io::Error of io::ErrorKind::UnexpectedEof.
- Produce a syntax error (io::ErrorKind::InvalidData) bearing the message
s
- True iff
e
is an “end of file” error; see is_eof_io_error - True iff
e
is io::ErrorKind::UnexpectedEof - True iff
e
isError::Io
- True iff
e
is a syntax error; see is_syntax_io_error - True iff
e
is an io::ErrorKind::InvalidData (a syntax error) - Produce a syntax error bearing the message
s