Struct wasmedge_sys::Store
source · pub struct Store { /* private fields */ }
Expand description
The Store is a collection of registered modules and assists wasm modules in finding the import modules they need.
Implementations§
source§impl Store
impl Store
sourcepub fn create() -> WasmEdgeResult<Self>
pub fn create() -> WasmEdgeResult<Self>
sourcepub fn module_len(&self) -> u32
pub fn module_len(&self) -> u32
Returns the length of the registered modules.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Store
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnwindSafe for Store
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