pub enum DependError {
Invalid,
Pattern(PatternError),
PkgPath(PkgPathError),
}Expand description
A DEPENDS parsing error.
Variants§
Invalid
An invalid string that doesn’t match <pattern>:<pkgpath>.
Pattern(PatternError)
A transparent PatternError error.
PkgPath(PkgPathError)
A transparent PkgPathError error.
Trait Implementations§
source§impl Debug for DependError
impl Debug for DependError
source§impl Display for DependError
impl Display for DependError
source§impl Error for DependError
impl Error for DependError
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<PatternError> for DependError
impl From<PatternError> for DependError
source§fn from(source: PatternError) -> Self
fn from(source: PatternError) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl Freeze for DependError
impl RefUnwindSafe for DependError
impl Send for DependError
impl Sync for DependError
impl Unpin for DependError
impl UnwindSafe for DependError
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