pub struct WasmRuntime { /* private fields */ }Expand description
Stub runtime for when the runtime feature is disabled
Implementations§
Source§impl WasmRuntime
impl WasmRuntime
Sourcepub fn load(_wasm_bytes: &[u8]) -> ProbarResult<Self>
pub fn load(_wasm_bytes: &[u8]) -> ProbarResult<Self>
Load is not available without runtime feature
§Errors
Always returns error when runtime feature is disabled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WasmRuntime
impl RefUnwindSafe for WasmRuntime
impl Send for WasmRuntime
impl Sync for WasmRuntime
impl Unpin for WasmRuntime
impl UnsafeUnpin for WasmRuntime
impl UnwindSafe for WasmRuntime
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