pub enum WasmRuntimeError {
CouldNotImportMemory,
CouldNotImportGlobal,
InvalidApiVersion,
InvalidProtocolVersion,
}
Expand description
An error encountered while running WebAssembly.
Variants§
Trait Implementations§
source§impl Debug for WasmRuntimeError
impl Debug for WasmRuntimeError
source§impl Display for WasmRuntimeError
impl Display for WasmRuntimeError
source§impl Error for WasmRuntimeError
impl Error for WasmRuntimeError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl RefUnwindSafe for WasmRuntimeError
impl Send for WasmRuntimeError
impl Sync for WasmRuntimeError
impl Unpin for WasmRuntimeError
impl UnwindSafe for WasmRuntimeError
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.