[−][src]Trait hinku::ParseResultExt
Implements convinience methods related to error handling for ParseResult.
Required methods
fn expected<C>(self, context: C) -> ParseResult<T, E> where
E: From<C>,
E: From<C>,
Appends error context to the error if the ParseResult represents an error.
fn optional(self) -> Option<T>
Transmutes the type into an Option, dismissing any possible errors.