pub struct WasmOps;Expand description
WasmOps Thin ops-layer wrapper around the embedded WasmRegistry.
Implementations§
Source§impl WasmOps
impl WasmOps
pub fn get(role: &CanisterRole) -> Option<WasmModule>
pub fn try_get(role: &CanisterRole) -> Result<WasmModule, Error>
pub fn import_static(wasms: &'static [(CanisterRole, &[u8])])
Auto Trait Implementations§
impl Freeze for WasmOps
impl RefUnwindSafe for WasmOps
impl Send for WasmOps
impl Sync for WasmOps
impl Unpin for WasmOps
impl UnwindSafe for WasmOps
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