Enum mbpr::ParseResult [] [src]

pub enum ParseResult<T> {
    Ok(T),
    Err(Fault),
}

Internal Result type

Variants

Methods

impl<T> ParseResult<T>
[src]

Unwraps the value. Panics on failure

Checks if value is okay

Check if the value is error

Get Okay Value

Get Error Value

Trait Implementations

impl<'a, T> From<IResult<&'a [u8], T>> for ParseResult<T>
[src]

You can ignore this

It is an internal method for handling nom's parser errors