Struct wasmedge_sys::Validator
source · pub struct Validator { /* private fields */ }
Expand description
Struct of WasmEdge Validator.
Implementations§
source§impl Validator
impl Validator
sourcepub fn create(config: Option<&Config>) -> WasmEdgeResult<Self>
pub fn create(config: Option<&Config>) -> WasmEdgeResult<Self>
sourcepub fn validate(&self, module: &Module) -> WasmEdgeResult<()>
pub fn validate(&self, module: &Module) -> WasmEdgeResult<()>
sourcepub fn as_ptr(&self) -> *const WasmEdge_ValidatorContext
Available on crate feature ffi
only.
pub fn as_ptr(&self) -> *const WasmEdge_ValidatorContext
ffi
only.Provides a raw pointer to the inner Validator context.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
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