pub struct WasmApi;Expand description
WasmApi
Runtime WASM registration API.
Public, user-callable helpers for registering embedded WASM modules during canister initialization.
This module exists to expose a stable surface to downstream canisters
without making WasmOps public.
Layering: user canister → api → ops → runtime state
Implementations§
Source§impl WasmApi
impl WasmApi
pub fn import_static(wasms: &'static [(CanisterRole, &[u8])])
Auto Trait Implementations§
impl Freeze for WasmApi
impl RefUnwindSafe for WasmApi
impl Send for WasmApi
impl Sync for WasmApi
impl Unpin for WasmApi
impl UnwindSafe for WasmApi
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