Enum test_binary::TestBinaryError
source · pub enum TestBinaryError {
NonCargoRun(String),
CargoRunError(Error),
CargoFailure(String),
BuildError(String),
BinaryNotBuilt(String),
}
Expand description
Error type for build result.
Variants§
NonCargoRun(String)
We are not running under Cargo.
CargoRunError(Error)
An error running Cargo itself.
CargoFailure(String)
Cargo ran but did not succeed.
BuildError(String)
Cargo ran but there was a compilation error.
BinaryNotBuilt(String)
Cargo ran and seemed to succeed but the requested binary did not appear in its build output.
Trait Implementations§
source§impl Debug for TestBinaryError
impl Debug for TestBinaryError
source§impl Display for TestBinaryError
impl Display for TestBinaryError
source§impl Error for TestBinaryError
impl Error for TestBinaryError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for TestBinaryError
impl Send for TestBinaryError
impl Sync for TestBinaryError
impl Unpin for TestBinaryError
impl !UnwindSafe for TestBinaryError
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