[−][src]Enum abortable_parser::Result
The result of a parsing attempt.
Variants
Complete(I, O)Complete represents a successful match.
Incomplete(I)Incomplete indicates input ended before a match could be completed. It contains the offset at which the input ended before a match could be completed.
Fail(Error<I>)Fail represents a failed match.
Abort(Error<I>)Abort represents a match failure that the parser cannot recover from.
Methods
impl<I: InputIter, O> Result<I, O>[src]
pub fn is_complete(&self) -> bool[src]
Returns true if the Result is Complete.
pub fn is_incomplete(&self) -> bool[src]
Returns true if the Result is Incomoplete.
pub fn is_fail(&self) -> bool[src]
Returns true if the Result is Fail.
pub fn is_abort(&self) -> bool[src]
Returns true if the Result is Abort.
Trait Implementations
Auto Trait Implementations
impl<I, O> Send for Result<I, O> where
I: Send,
O: Send,
I: Send,
O: Send,
impl<I, O> Sync for Result<I, O> where
I: Sync,
O: Sync,
I: Sync,
O: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,