Enum cargo_geiger::RsResolveError
source · pub enum RsResolveError {
Walkdir(Error),
Io(Error, PathBuf),
Cargo(String),
ArcUnwrap(),
InnerContextMutex(String),
DepParse(String),
}
Variants§
Walkdir(Error)
Io(Error, PathBuf)
Like io::Error but with the related path.
Cargo(String)
Would like cargo::Error here, but it’s private, why? This is still way better than a panic though.
ArcUnwrap()
This should not happen unless incorrect assumptions have been made in cargo-geiger about how the cargo API works.
InnerContextMutex(String)
Failed to get the inner context out of the mutex.
DepParse(String)
TODO: Add file path involved in parse error.
Trait Implementations§
source§impl Debug for RsResolveError
impl Debug for RsResolveError
source§impl Display for RsResolveError
impl Display for RsResolveError
source§impl Error for RsResolveError
impl Error for RsResolveError
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 From<PoisonError<CustomExecutorInnerContext>> for RsResolveError
impl From<PoisonError<CustomExecutorInnerContext>> for RsResolveError
source§fn from(e: PoisonError<CustomExecutorInnerContext>) -> Self
fn from(e: PoisonError<CustomExecutorInnerContext>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RsResolveError
impl Send for RsResolveError
impl Sync for RsResolveError
impl Unpin for RsResolveError
impl !UnwindSafe for RsResolveError
Blanket Implementations§
source§impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more