Skip to main content

PResult

Type Alias PResult 

Source
pub type PResult<T> = Result<T, ParseError>;

Aliased Type§

pub enum PResult<T> {
    Ok(T),
    Err(ParseError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseError)

Contains the error value

Trait Implementations§

Source§

impl<T> PResultExt<T> for PResult<T>

Source§

fn no_eof(self) -> Self

Source§

fn allow_eof(self) -> PResult<Option<T>>

Source§

fn is_eof(&self) -> bool