pub struct InvalidPackageTargetError {
pub pkg_json_path: PathBuf,
pub sub_path: String,
pub target: String,
pub is_import: bool,
pub maybe_referrer: Option<Url>,
}Fields§
§pkg_json_path: PathBuf§sub_path: String§target: String§is_import: bool§maybe_referrer: Option<Url>Trait Implementations§
Source§impl Debug for InvalidPackageTargetError
impl Debug for InvalidPackageTargetError
Source§impl Display for InvalidPackageTargetError
impl Display for InvalidPackageTargetError
Source§impl Error for InvalidPackageTargetError
impl Error for InvalidPackageTargetError
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<InvalidPackageTargetError> for PackageTargetResolveErrorKind
impl From<InvalidPackageTargetError> for PackageTargetResolveErrorKind
Source§fn from(source: InvalidPackageTargetError) -> Self
fn from(source: InvalidPackageTargetError) -> Self
Converts to this type from the input type.
Source§impl NodeJsErrorCoded for InvalidPackageTargetError
impl NodeJsErrorCoded for InvalidPackageTargetError
fn code(&self) -> NodeJsErrorCode
Auto Trait Implementations§
impl Freeze for InvalidPackageTargetError
impl RefUnwindSafe for InvalidPackageTargetError
impl Send for InvalidPackageTargetError
impl Sync for InvalidPackageTargetError
impl Unpin for InvalidPackageTargetError
impl UnwindSafe for InvalidPackageTargetError
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