Enum grammers_tl_parser::errors::ParseError[][src]

pub enum ParseError {
    Empty,
    InvalidId(ParseIntError),
    InvalidParam(ParamParseError),
    MissingName,
    MissingType,
    NotImplemented,
    UnknownSeparator,
}

The error type for the parsing operation of Definitions.

Variants

Empty

The definition is empty.

InvalidId(ParseIntError)

The identifier from this definition is invalid.

InvalidParam(ParamParseError)

One of the parameters from this definition was invalid.

MissingName

The name information is missing from the definition.

MissingType

The type information is missing from the definition.

NotImplemented

The parser does not know how to parse the definition.

UnknownSeparator

The file contained an unknown separator (such as ---foo---)

Trait Implementations

impl Debug for ParseError[src]

impl PartialEq<ParseError> for ParseError[src]

impl StructuralPartialEq for ParseError[src]

Auto Trait Implementations

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, 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.