pub enum PackagePathSegmentError {
Empty,
TooLong(usize),
InvalidCharacter {
character: char,
},
DotSegment,
DotDotSegment,
}
Variants§
Trait Implementations§
source§impl Debug for PackagePathSegmentError
impl Debug for PackagePathSegmentError
source§impl Display for PackagePathSegmentError
impl Display for PackagePathSegmentError
source§impl Error for PackagePathSegmentError
impl Error for PackagePathSegmentError
1.30.0 · 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 PackagePathSegmentError
impl PartialEq for PackagePathSegmentError
source§fn eq(&self, other: &PackagePathSegmentError) -> bool
fn eq(&self, other: &PackagePathSegmentError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PackagePathSegmentError
impl StructuralPartialEq for PackagePathSegmentError
Auto Trait Implementations§
impl Freeze for PackagePathSegmentError
impl RefUnwindSafe for PackagePathSegmentError
impl Send for PackagePathSegmentError
impl Sync for PackagePathSegmentError
impl Unpin for PackagePathSegmentError
impl UnwindSafe for PackagePathSegmentError
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