Enum json_ld_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§
source§impl<E, M> Error for Error<M, E>where
E: 'static + Error,
M: Debug,
impl<E, M> Error for Error<M, E>where E: 'static + Error, M: Debug,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more