[−][src]Enum strason::parser::ErrorType
The type of a Json parsing error
Variants
Other(String)
Syntax error interpreting Json
MissingField(&'static str)
Missing field interpreting Json
UnknownField(String)
Unknown field
ExpectedString
Expected a string, got something else
UnexpectedEOF
end-of-file reached before json was complete
UnexpectedCharacter(char)
bad character encountered when parsing some data
MalformedNumber
a number contained a bad or misplaced character
MalformedEscape
an escape sequence was invalid
UnknownIdent
an identifier was given that has no meaning
Unicode(ParseIntError)
a unicode codepoint constant was malformed
UnpairedSurrogate
UTF-16 sequence with unpaired surrogate
Io(Error)
some sort of IO error
Trait Implementations
impl From<ParseIntError> for ErrorType
[src]
fn from(e: ParseIntError) -> ErrorType
[src]
impl From<Error> for ErrorType
[src]
impl From<ErrorType> for Error
[src]
impl Debug for ErrorType
[src]
Auto Trait Implementations
impl Unpin for ErrorType
impl Sync for ErrorType
impl Send for ErrorType
impl !UnwindSafe for ErrorType
impl !RefUnwindSafe for ErrorType
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,