[][src]Enum wasmparser::ValidPayload

pub enum ValidPayload<'a> {
    Ok,
    Push(ParserValidator),
    Pop,
    Func(FuncValidator<ValidatorResources>, FunctionBody<'a>),
}

Possible return values from Validator::payload.

Variants

Ok

The payload validated, no further action need be taken.

The payload validated, but it started a nested module.

This result indicates that the current validator needs to be saved until later. The returned parser and validator should be used instead.

Pop

The payload validated, and the current validator is finished. The last validator that was in use should be popped off the stack to resume.

A function was found to be validate.

Auto Trait Implementations

impl<'a> RefUnwindSafe for ValidPayload<'a>

impl<'a> Send for ValidPayload<'a>

impl<'a> Sync for ValidPayload<'a>

impl<'a> Unpin for ValidPayload<'a>

impl<'a> UnwindSafe for ValidPayload<'a>

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.