Enum json_syntax::parse::Error
source · [−]pub enum Error<E, F> {
Stream(E),
Unexpected(Option<char>),
InvalidUnicodeCodePoint(u32),
MissingLowSurrogate(Loc<u16, F>),
InvalidLowSurrogate(Loc<u16, F>, u32),
}
Expand description
Parse error.
Variants
Stream(E)
Stream error.
Unexpected(Option<char>)
Unexpected character or end of stream.
InvalidUnicodeCodePoint(u32)
Invalid unicode codepoint.
MissingLowSurrogate(Loc<u16, F>)
Missing low surrogate in a string.
InvalidLowSurrogate(Loc<u16, F>, u32)
Invalid low surrogate in a string.
Trait Implementations
Auto Trait Implementations
impl<E, F> RefUnwindSafe for Error<E, F> where
E: RefUnwindSafe,
F: RefUnwindSafe,
impl<E, F> Send for Error<E, F> where
E: Send,
F: Send,
impl<E, F> Sync for Error<E, F> where
E: Sync,
F: Sync,
impl<E, F> Unpin for Error<E, F> where
E: Unpin,
F: Unpin,
impl<E, F> UnwindSafe for Error<E, F> where
E: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more