Struct assert_cmd::cargo::CargoError
source · pub struct CargoError { /* private fields */ }
Expand description
Error when finding crate binary.
Implementations§
source§impl CargoError
impl CargoError
sourcepub fn with_cause<E>(cause: E) -> Selfwhere
E: Error + Send + Sync + 'static,
pub fn with_cause<E>(cause: E) -> Selfwhere E: Error + Send + Sync + 'static,
Wrap the underlying error for passing up.
Trait Implementations§
source§impl Debug for CargoError
impl Debug for CargoError
source§impl Display for CargoError
impl Display for CargoError
source§impl Error for CargoError
impl Error for CargoError
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()