Struct wasmi_validation::PlainFuncValidator
source · pub struct PlainFuncValidator;
Expand description
A function validator that just validates modules and produces no result.
Trait Implementations§
source§impl FuncValidator for PlainFuncValidator
impl FuncValidator for PlainFuncValidator
type Output = ()
fn new( _ctx: &FunctionValidationContext<'_>, _body: &FuncBody, _input: Self::Input ) -> PlainFuncValidator
fn next_instruction( &mut self, ctx: &mut FunctionValidationContext<'_>, instruction: &Instruction ) -> Result<(), Error>
fn finish(self, _ctx: &FunctionValidationContext<'_>)
Auto Trait Implementations§
impl RefUnwindSafe for PlainFuncValidator
impl Send for PlainFuncValidator
impl Sync for PlainFuncValidator
impl Unpin for PlainFuncValidator
impl UnwindSafe for PlainFuncValidator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more