pub enum PkgPathError {
InvalidPath,
}Expand description
An invalid path was specified trying to create a new PkgPath.
Variants§
InvalidPath
Contains an invalid path.
Trait Implementations§
source§impl Debug for PkgPathError
impl Debug for PkgPathError
source§impl Display for PkgPathError
impl Display for PkgPathError
source§impl Error for PkgPathError
impl Error for PkgPathError
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<PkgPathError> for DependError
impl From<PkgPathError> for DependError
source§fn from(source: PkgPathError) -> Self
fn from(source: PkgPathError) -> Self
Converts to this type from the input type.
source§impl Ord for PkgPathError
impl Ord for PkgPathError
source§fn cmp(&self, other: &PkgPathError) -> Ordering
fn cmp(&self, other: &PkgPathError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PkgPathError
impl PartialEq for PkgPathError
source§impl PartialOrd for PkgPathError
impl PartialOrd for PkgPathError
impl Eq for PkgPathError
impl StructuralPartialEq for PkgPathError
Auto Trait Implementations§
impl Freeze for PkgPathError
impl RefUnwindSafe for PkgPathError
impl Send for PkgPathError
impl Sync for PkgPathError
impl Unpin for PkgPathError
impl UnwindSafe for PkgPathError
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.