Trait wasmi_validation::Validator
source · [−]pub trait Validator {
type Input;
type Output;
type FuncValidator: FuncValidator;
fn new(module: &Module, input: Self::Input) -> Self;
fn func_validator_input(
&mut self
) -> <Self::FuncValidator as FuncValidator>::Input;
fn on_function_validated(
&mut self,
index: u32,
output: <<Self as Validator>::FuncValidator as FuncValidator>::Output
);
fn finish(self) -> Self::Output;
}