Expand description
Error variants.
This module defines the error types used by oct.
All of these types define (at least conditionally) the Error trait.
Structs§
- CString
Decode Error allocA C-like string could not be decoded. - A character could not be decoded.
- An input-related error.
- An
isizevalue could not be decoded. - A collection’s item could not be decoded.
- A collection’s item could not be encoded.
- A collection buffer was too small to contain all of its elements.
- A non-zero integer could not be decoded.
- An output-related error
- The
SystemTimetype could not represent a UNIX timestamp. - A
usizevalue could not be decoded. - An invalid UTF-8 sequence was encountered.
- An invalid UTF-16 sequence was encountered.
Enums§
- A collection could not be decoded.
- A collection could not be encoded.
- An invalid enumeration descriminant was provided.
- An invalid enumeration descriminant was provided.
- A decoding failed.
- A decoding failed.
- A reference cell could not be encoded.
- String error variants.