Struct assert_cmd::cargo::CargoError
source · [−]pub struct CargoError { /* private fields */ }
Expand description
Error when finding crate binary.
Implementations
sourceimpl 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
sourceimpl Debug for CargoError
impl Debug for CargoError
sourceimpl Display for CargoError
impl Display for CargoError
sourceimpl Error for CargoError
impl Error for CargoError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for CargoError
impl Send for CargoError
impl Sync for CargoError
impl Unpin for CargoError
impl !UnwindSafe for CargoError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more