Enum wasmparser::ValidPayload[][src]

pub enum ValidPayload<'a> {
    Ok,
    Submodule(Parser),
    Func(FuncValidator<ValidatorResources>, FunctionBody<'a>),
}

Possible return values from Validator::payload.

Variants

Ok

The payload validated, no further action need be taken.

Submodule(Parser)

The payload validated, but it started a nested module.

This result indicates that the specified parser should be used instead of the currently-used parser until this returned one ends.

A function was found to be validate.

Auto Trait Implementations

impl<'a> RefUnwindSafe for ValidPayload<'a>[src]

impl<'a> Send for ValidPayload<'a>[src]

impl<'a> Sync for ValidPayload<'a>[src]

impl<'a> Unpin for ValidPayload<'a>[src]

impl<'a> UnwindSafe for ValidPayload<'a>[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.