Enum jomini::ErrorKind [−][src]
pub enum ErrorKind { Eof, StackEmpty { offset: usize, }, InvalidEmptyObject { offset: usize, }, InvalidSyntax { msg: String, offset: usize, }, Deserialize(DeserializeError), Io(Error), }
Expand description
Specific type of error
Variants
Unexpected end of input
Too many close delimiters were encountered
Show fields
Fields of StackEmpty
offset: usize
The byte offset where the stack became empty
Expected a close delimiter after encountering an empty opener
Show fields
Fields of InvalidEmptyObject
offset: usize
The byte offset where the invalid empty object was encountered
Invalid syntax encountered
Show fields
Deserialize(DeserializeError)
An error occurred when deserializing the data
Io(Error)
An error occurred when performing IO.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl !UnwindSafe for ErrorKind