Struct wasmi_validation::PlainValidator
source · [−]pub struct PlainValidator;
Expand description
A module validator that just validates modules and produces no result.
Trait Implementations
sourceimpl Validator for PlainValidator
impl Validator for PlainValidator
type Output = ()
type FuncValidator = PlainFuncValidator
fn new(_module: &Module, _args: Self::Input) -> PlainValidator
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)
Auto Trait Implementations
impl RefUnwindSafe for PlainValidator
impl Send for PlainValidator
impl Sync for PlainValidator
impl Unpin for PlainValidator
impl UnwindSafe for PlainValidator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more