Trait wasmi_validation::Validator[][src]

pub trait Validator {
    type Output;
    type FuncValidator: FuncValidator;
    fn new(module: &Module) -> Self;
fn on_function_validated(
        &mut self,
        index: u32,
        output: <Self::FuncValidator as FuncValidator>::Output
    );
fn finish(self) -> Self::Output; }

Associated Types

type Output[src]

type FuncValidator: FuncValidator[src]

Loading content...

Required methods

fn new(module: &Module) -> Self[src]

fn on_function_validated(
    &mut self,
    index: u32,
    output: <Self::FuncValidator as FuncValidator>::Output
)
[src]

fn finish(self) -> Self::Output[src]

Loading content...

Implementors

impl Validator for PlainValidator[src]

type Output = ()

type FuncValidator = PlainFuncValidator

Loading content...