Enum json_syntax::parse::Error
source · [−]pub enum Error<M, E = Infallible> {
Stream(E),
Unexpected(Option<char>),
InvalidUnicodeCodePoint(u32),
MissingLowSurrogate(Meta<u16, M>),
InvalidLowSurrogate(Meta<u16, M>, 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(Meta<u16, M>)
Missing low surrogate in a string.
InvalidLowSurrogate(Meta<u16, M>, u32)
Invalid low surrogate in a string.
Trait Implementations
Auto Trait Implementations
impl<M, E> RefUnwindSafe for Error<M, E>where
E: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, E> Send for Error<M, E>where
E: Send,
M: Send,
impl<M, E> Sync for Error<M, E>where
E: Sync,
M: Sync,
impl<M, E> Unpin for Error<M, E>where
E: Unpin,
M: Unpin,
impl<M, E> UnwindSafe for Error<M, E>where
E: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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