pub struct ModuleNotFoundError {
pub specifier: Url,
pub maybe_referrer: Option<Url>,
pub typ: &'static str,
}Fields§
§specifier: Url§maybe_referrer: Option<Url>§typ: &'static strTrait Implementations§
Source§impl Debug for ModuleNotFoundError
impl Debug for ModuleNotFoundError
Source§impl Display for ModuleNotFoundError
impl Display for ModuleNotFoundError
Source§impl Error for ModuleNotFoundError
impl Error for ModuleNotFoundError
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<ModuleNotFoundError> for FinalizeResolutionErrorKind
impl From<ModuleNotFoundError> for FinalizeResolutionErrorKind
Source§fn from(source: ModuleNotFoundError) -> Self
fn from(source: ModuleNotFoundError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleNotFoundError> for LegacyResolveErrorKind
impl From<ModuleNotFoundError> for LegacyResolveErrorKind
Source§fn from(source: ModuleNotFoundError) -> Self
fn from(source: ModuleNotFoundError) -> Self
Converts to this type from the input type.
Source§impl NodeJsErrorCoded for ModuleNotFoundError
impl NodeJsErrorCoded for ModuleNotFoundError
fn code(&self) -> NodeJsErrorCode
Auto Trait Implementations§
impl Freeze for ModuleNotFoundError
impl RefUnwindSafe for ModuleNotFoundError
impl Send for ModuleNotFoundError
impl Sync for ModuleNotFoundError
impl Unpin for ModuleNotFoundError
impl UnwindSafe for ModuleNotFoundError
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