Struct LinkError
#[repr(transparent)]
pub struct LinkError { /* private fields */ }
The WebAssembly.LinkError() constructor creates a new WebAssembly
LinkError object, which indicates an error during module
instantiation (besides traps from the start function).
Implementations
impl LinkError
fn new_with_options(message: &str, options: &ErrorOptions) -> LinkErrorCreates a new
WebAssembly.LinkErrorwith the given message and a typedErrorOptionsdictionary whosecauseproperty indicates the original cause of the error.
impl LinkError
fn new(message: &str) -> LinkErrorThe
WebAssembly.LinkError()constructor creates a new WebAssembly LinkError object, which indicates an error during module instantiation (besides traps from the start function).
Trait Implementations
impl AsRef<Error> for LinkError
fn as_ref(&self) -> &Error
impl AsRef<JsValue> for LinkError
fn as_ref(&self) -> &JsValue
impl AsRef<LinkError> for LinkError
fn as_ref(&self) -> &LinkError
impl Clone for LinkError
fn clone(&self) -> Self
impl Debug for LinkError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for LinkError
type Target = Error;fn deref(&self) -> &Error
impl Eq for LinkError
impl ErasableGeneric for LinkError
type Repr = JsValue;
impl From<JsValue> for LinkError
fn from(obj: JsValue) -> Self
impl FromWasmAbi for LinkError
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for LinkError
where
LinkError: JsGeneric,
type JsCanon = LinkError;fn to_js(self) -> LinkError
impl IntoWasmAbi for LinkError
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for LinkError
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for LinkError
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = LinkError;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for LinkError
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for LinkError
fn none() -> Self::Abi
impl PartialEq for LinkError
fn eq(&self, other: &Self) -> bool
impl Promising for LinkError
type Resolution = LinkError;
impl RefFromWasmAbi for LinkError
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<LinkError>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl StructuralPartialEq for LinkError
impl UpcastFrom<LinkError> for LinkError
impl WasmDescribe for LinkError
fn describe()