pub struct UnsupportedEsmUrlSchemeError {
pub url_scheme: String,
}Fields§
§url_scheme: StringTrait Implementations§
Source§impl Clone for UnsupportedEsmUrlSchemeError
impl Clone for UnsupportedEsmUrlSchemeError
Source§fn clone(&self) -> UnsupportedEsmUrlSchemeError
fn clone(&self) -> UnsupportedEsmUrlSchemeError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnsupportedEsmUrlSchemeError
impl Debug for UnsupportedEsmUrlSchemeError
Source§impl Error for UnsupportedEsmUrlSchemeError
impl Error for UnsupportedEsmUrlSchemeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<UnsupportedEsmUrlSchemeError> for NodeResolveErrorKind
impl From<UnsupportedEsmUrlSchemeError> for NodeResolveErrorKind
Source§fn from(source: UnsupportedEsmUrlSchemeError) -> Self
fn from(source: UnsupportedEsmUrlSchemeError) -> Self
Converts to this type from the input type.
Source§impl JsErrorClass for UnsupportedEsmUrlSchemeError
impl JsErrorClass for UnsupportedEsmUrlSchemeError
Source§fn get_message(&self) -> Cow<'static, str>
fn get_message(&self) -> Cow<'static, str>
Represents the error message used in JavaScript side.
Source§fn get_additional_properties(&self) -> AdditionalProperties
fn get_additional_properties(&self) -> AdditionalProperties
Additional properties that should be defined on the error in JavaScript side.
fn as_any(&self) -> &dyn Any
Source§impl NodeJsErrorCoded for UnsupportedEsmUrlSchemeError
impl NodeJsErrorCoded for UnsupportedEsmUrlSchemeError
fn code(&self) -> NodeJsErrorCode
Auto Trait Implementations§
impl Freeze for UnsupportedEsmUrlSchemeError
impl RefUnwindSafe for UnsupportedEsmUrlSchemeError
impl Send for UnsupportedEsmUrlSchemeError
impl Sync for UnsupportedEsmUrlSchemeError
impl Unpin for UnsupportedEsmUrlSchemeError
impl UnwindSafe for UnsupportedEsmUrlSchemeError
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