[][src]Trait wasmi_validation::FuncValidator

pub trait FuncValidator {
    type Output;
    fn new(ctx: &FunctionValidationContext, body: &FuncBody) -> Self;
fn next_instruction(
        &mut self,
        ctx: &mut FunctionValidationContext,
        instruction: &Instruction
    ) -> Result<(), Error>;
fn finish(self) -> Self::Output; }

Associated Types

type Output

Loading content...

Required methods

fn new(ctx: &FunctionValidationContext, body: &FuncBody) -> Self

fn next_instruction(
    &mut self,
    ctx: &mut FunctionValidationContext,
    instruction: &Instruction
) -> Result<(), Error>

fn finish(self) -> Self::Output

Loading content...

Implementors

impl FuncValidator for PlainFuncValidator[src]

type Output = ()

Loading content...