[][src]Enum json_pop::error::JsonPopError

pub enum JsonPopError<'a> {
    Parse(ParseError<'a>),
    Io(Error),
    TestError(TestError<'a>),
}

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

impl<'a> Debug for JsonPopError<'a>[src]

impl<'a> Display for JsonPopError<'a>[src]

impl<'a> From<Error> for JsonPopError<'a>[src]

impl<'a> From<JsonPopError<'a>> for TopLevelError[src]

impl<'a> From<ParseError<usize, Token<'a>, CompilationError>> for JsonPopError<'a>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.