pub enum MutateError {
ToolNotInstalled,
SubprocessFailed(String),
ParseError(String),
}Expand description
Errors that can arise during a mutation testing run.
Variants§
ToolNotInstalled
cargo-mutants is not installed.
SubprocessFailed(String)
Subprocess returned a fatal error and no parseable JSON.
ParseError(String)
JSON output could not be parsed.
Trait Implementations§
Source§impl Debug for MutateError
impl Debug for MutateError
Source§impl Display for MutateError
impl Display for MutateError
Source§impl Error for MutateError
impl Error for MutateError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for MutateError
impl RefUnwindSafe for MutateError
impl Send for MutateError
impl Sync for MutateError
impl Unpin for MutateError
impl UnsafeUnpin for MutateError
impl UnwindSafe for MutateError
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