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