Type Alias kanjidic_types::NomErr

source ·
pub type NomErr<'a> = Err<Error<&'a str>>;

Aliased Type§

enum NomErr<'a> {
    Incomplete(Needed),
    Error(Error<&'a str>),
    Failure(Error<&'a str>),
}

Variants§

§

Incomplete(Needed)

There was not enough data

§

Error(Error<&'a str>)

The parser had an error (recoverable)

§

Failure(Error<&'a str>)

The parser had an unrecoverable error: we got to the right branch and we know other branches won’t work, so backtrack as fast as possible