pub enum WasmBackendError {
ResolveError(ResolveError),
RuntimeError(RuntimeError),
ModuleCreationError(ModuleCreationError),
ImportError(ImportError),
InstantiationError(InstantiationError),
InitializationError(Error),
}
Variants§
ResolveError(ResolveError)
RuntimeError(RuntimeError)
ModuleCreationError(ModuleCreationError)
ImportError(ImportError)
InstantiationError(InstantiationError)
InitializationError(Error)
Trait Implementations§
source§impl Debug for WasmBackendError
impl Debug for WasmBackendError
source§impl Display for WasmBackendError
impl Display for WasmBackendError
source§impl Error for WasmBackendError
impl Error for WasmBackendError
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
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ImportError> for WasmBackendError
impl From<ImportError> for WasmBackendError
source§fn from(source: ImportError) -> Self
fn from(source: ImportError) -> Self
Converts to this type from the input type.
source§impl From<InstantiationError> for WasmBackendError
impl From<InstantiationError> for WasmBackendError
source§fn from(source: InstantiationError) -> Self
fn from(source: InstantiationError) -> Self
Converts to this type from the input type.
source§impl From<ModuleCreationError> for WasmBackendError
impl From<ModuleCreationError> for WasmBackendError
source§fn from(source: ModuleCreationError) -> Self
fn from(source: ModuleCreationError) -> Self
Converts to this type from the input type.
source§impl From<ResolveError> for WasmBackendError
impl From<ResolveError> for WasmBackendError
source§fn from(source: ResolveError) -> Self
fn from(source: ResolveError) -> Self
Converts to this type from the input type.
source§impl From<RuntimeError> for WasmBackendError
impl From<RuntimeError> for WasmBackendError
source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for WasmBackendError
impl Send for WasmBackendError
impl Sync for WasmBackendError
impl Unpin for WasmBackendError
impl UnwindSafe for WasmBackendError
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