pub enum ParsePackagePathError {
TooManySegments,
TooFewSegments,
PackageName(PackagePathSegmentError),
PackageVariant(PackagePathSegmentError),
}
Variants§
TooManySegments
TooFewSegments
PackageName(PackagePathSegmentError)
PackageVariant(PackagePathSegmentError)
Trait Implementations§
source§impl Debug for ParsePackagePathError
impl Debug for ParsePackagePathError
source§impl Display for ParsePackagePathError
impl Display for ParsePackagePathError
source§impl Error for ParsePackagePathError
impl Error for ParsePackagePathError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for ParsePackagePathError
impl PartialEq for ParsePackagePathError
source§fn eq(&self, other: &ParsePackagePathError) -> bool
fn eq(&self, other: &ParsePackagePathError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParsePackagePathError
impl StructuralPartialEq for ParsePackagePathError
Auto Trait Implementations§
impl Freeze for ParsePackagePathError
impl RefUnwindSafe for ParsePackagePathError
impl Send for ParsePackagePathError
impl Sync for ParsePackagePathError
impl Unpin for ParsePackagePathError
impl UnwindSafe for ParsePackagePathError
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