Enum tinywasm::LinkingError
source · pub enum LinkingError {
UnknownImport {
module: String,
name: String,
},
IncompatibleImportType {
module: String,
name: String,
},
}
Expand description
Errors that can occur when linking a WebAssembly module
Variants§
UnknownImport
An unknown import was encountered
IncompatibleImportType
A mismatched import type was encountered
Implementations§
Trait Implementations§
source§impl Debug for LinkingError
impl Debug for LinkingError
source§impl Display for LinkingError
impl Display for LinkingError
source§impl From<LinkingError> for Error
impl From<LinkingError> for Error
source§fn from(value: LinkingError) -> Self
fn from(value: LinkingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for LinkingError
impl Send for LinkingError
impl Sync for LinkingError
impl Unpin for LinkingError
impl UnwindSafe for LinkingError
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