Struct UriError
#[repr(transparent)]
pub struct UriError { /* private fields */ }
The URIError object represents an error when a global URI handling
function was used in a wrong way.
Implementations
impl UriError
fn new(message: &str) -> UriErrorThe
URIErrorobject represents an error when a global URI handling function was used in a wrong way.
impl UriError
fn new_with_options(message: &str, options: &ErrorOptions) -> UriErrorCreates a new
URIErrorwith the given message and a typedErrorOptionsdictionary whosecauseproperty indicates the original cause of the error.
Trait Implementations
impl AsRef<Error> for UriError
fn as_ref(&self) -> &Error
impl AsRef<JsValue> for UriError
fn as_ref(&self) -> &JsValue
impl AsRef<Object> for UriError
fn as_ref(&self) -> &Object
impl AsRef<UriError> for UriError
fn as_ref(&self) -> &UriError
impl Clone for UriError
fn clone(&self) -> Self
impl Debug for UriError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Deref for UriError
type Target = Error;fn deref(&self) -> &Error
impl Eq for UriError
impl ErasableGeneric for UriError
type Repr = JsValue;
impl From<JsValue> for UriError
fn from(obj: JsValue) -> Self
impl FromWasmAbi for UriError
type Abi = <JsValue as FromWasmAbi>::Abi;unsafe fn from_abi(js: Self::Abi) -> Self
impl IntoJsGeneric for UriError
where
UriError: JsGeneric,
type JsCanon = UriError;fn to_js(self) -> UriError
impl IntoWasmAbi for UriError
type Abi = <JsValue as IntoWasmAbi>::Abi;fn into_abi(self) -> Self::Abi
impl JsCast for UriError
fn instanceof(val: &JsValue) -> boolfn unchecked_from_js(val: JsValue) -> Selffn unchecked_from_js_ref(val: &JsValue) -> &Self
impl LongRefFromWasmAbi for UriError
type Abi = <JsValue as LongRefFromWasmAbi>::Abi;type Anchor = UriError;unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
impl OptionFromWasmAbi for UriError
fn is_none(abi: &Self::Abi) -> bool
impl OptionIntoWasmAbi for UriError
fn none() -> Self::Abi
impl PartialEq for UriError
fn eq(&self, other: &Self) -> bool
impl Promising for UriError
type Resolution = UriError;
impl RefFromWasmAbi for UriError
type Abi = <JsValue as RefFromWasmAbi>::Abi;type Anchor = ManuallyDrop<UriError>;unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
impl StructuralPartialEq for UriError
impl UpcastFrom<UriError> for UriError
impl WasmDescribe for UriError
fn describe()