Trait wasmi_validation::FuncValidator[][src]

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[src]

Loading content...

Required methods

fn new(ctx: &FunctionValidationContext<'_>, body: &FuncBody) -> Self[src]

fn next_instruction(
    &mut self,
    ctx: &mut FunctionValidationContext<'_>,
    instruction: &Instruction
) -> Result<(), Error>
[src]

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

Loading content...

Implementors

impl FuncValidator for PlainFuncValidator[src]

type Output = ()

Loading content...