pub enum JsonPopError<'a> {
Parse(ParseError<'a>),
Io(Error),
TestError(TestError<'a>),
}
Expand description
This is the error type returned by the parser. It’s bounded by the lifetime of the source string which was parsed
Variants§
Parse(ParseError<'a>)
Io(Error)
TestError(TestError<'a>)
This type is a never variation unless the testsuite is being run.
Trait Implementations§
Source§impl<'a> Debug for JsonPopError<'a>
impl<'a> Debug for JsonPopError<'a>
Source§impl<'a> Display for JsonPopError<'a>
impl<'a> Display for JsonPopError<'a>
Source§impl<'a> From<Error> for JsonPopError<'a>
impl<'a> From<Error> for JsonPopError<'a>
Source§impl<'a> From<JsonPopError<'a>> for TopLevelError
impl<'a> From<JsonPopError<'a>> for TopLevelError
Source§fn from(it: JsonPopError<'a>) -> TopLevelError
fn from(it: JsonPopError<'a>) -> TopLevelError
Converts to this type from the input type.
Source§impl<'a> From<ParseError<usize, Token<'a>, CompilationError>> for JsonPopError<'a>
impl<'a> From<ParseError<usize, Token<'a>, CompilationError>> for JsonPopError<'a>
Source§fn from(err: ParseError<'a>) -> Self
fn from(err: ParseError<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for JsonPopError<'a>
impl<'a> !RefUnwindSafe for JsonPopError<'a>
impl<'a> Send for JsonPopError<'a>
impl<'a> Sync for JsonPopError<'a>
impl<'a> Unpin for JsonPopError<'a>
impl<'a> !UnwindSafe for JsonPopError<'a>
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