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)>
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 PartialEq for ParsePackagePathError
impl PartialEq for ParsePackagePathError
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