pub enum PackageResolveErrorKind {
ClosestPkgJson(ClosestPkgJsonError),
InvalidModuleSpecifier(InvalidModuleSpecifierError),
PackageFolderResolve(PackageFolderResolveError),
ExportsResolve(PackageExportsResolveError),
SubpathResolve(PackageSubpathResolveError),
}Variants§
ClosestPkgJson(ClosestPkgJsonError)
InvalidModuleSpecifier(InvalidModuleSpecifierError)
PackageFolderResolve(PackageFolderResolveError)
ExportsResolve(PackageExportsResolveError)
SubpathResolve(PackageSubpathResolveError)
Trait Implementations§
source§impl Debug for PackageResolveErrorKind
impl Debug for PackageResolveErrorKind
source§impl Display for PackageResolveErrorKind
impl Display for PackageResolveErrorKind
source§impl Error for PackageResolveErrorKind
impl Error for PackageResolveErrorKind
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<ClosestPkgJsonError> for PackageResolveErrorKind
impl From<ClosestPkgJsonError> for PackageResolveErrorKind
source§fn from(source: ClosestPkgJsonError) -> Self
fn from(source: ClosestPkgJsonError) -> Self
Converts to this type from the input type.
source§impl From<InvalidModuleSpecifierError> for PackageResolveErrorKind
impl From<InvalidModuleSpecifierError> for PackageResolveErrorKind
source§fn from(source: InvalidModuleSpecifierError) -> Self
fn from(source: InvalidModuleSpecifierError) -> Self
Converts to this type from the input type.
source§impl From<PackageExportsResolveError> for PackageResolveErrorKind
impl From<PackageExportsResolveError> for PackageResolveErrorKind
source§fn from(source: PackageExportsResolveError) -> Self
fn from(source: PackageExportsResolveError) -> Self
Converts to this type from the input type.
source§impl From<PackageFolderResolveError> for PackageResolveErrorKind
impl From<PackageFolderResolveError> for PackageResolveErrorKind
source§fn from(source: PackageFolderResolveError) -> Self
fn from(source: PackageFolderResolveError) -> Self
Converts to this type from the input type.
source§impl From<PackageSubpathResolveError> for PackageResolveErrorKind
impl From<PackageSubpathResolveError> for PackageResolveErrorKind
source§fn from(source: PackageSubpathResolveError) -> Self
fn from(source: PackageSubpathResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackageResolveErrorKind
impl !RefUnwindSafe for PackageResolveErrorKind
impl Send for PackageResolveErrorKind
impl Sync for PackageResolveErrorKind
impl Unpin for PackageResolveErrorKind
impl !UnwindSafe for PackageResolveErrorKind
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