[][src]Enum oak_runtime::parse_state::ParseResult

pub enum ParseResult<S, T> {
    Success(T),
    Partial(T, ParseExpectation<S>),
    Failure(ParseExpectation<S>),
}

Variants

Success(T)
Partial(T, ParseExpectation<S>)
Failure(ParseExpectation<S>)

Trait Implementations

impl<S, T> Debug for ParseResult<S, T> where
    T: Debug,
    S: HasNext + Location + CodeSnippet
[src]

Auto Trait Implementations

impl<S, T> RefUnwindSafe for ParseResult<S, T> where
    S: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<S, T> Send for ParseResult<S, T> where
    S: Send,
    T: Send
[src]

impl<S, T> Sync for ParseResult<S, T> where
    S: Sync,
    T: Sync
[src]

impl<S, T> Unpin for ParseResult<S, T> where
    S: Unpin,
    T: Unpin
[src]

impl<S, T> UnwindSafe for ParseResult<S, T> where
    S: UnwindSafe,
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.