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) -> PlainValidator
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more