pub enum FuzzError {
ToolNotInstalled,
NightlyRequired,
SubprocessFailed(String),
TargetNotFound(String),
}Expand description
Errors that can arise during a fuzz run.
Variants§
ToolNotInstalled
cargo-fuzz is not installed.
NightlyRequired
Nightly Rust is required but not available.
SubprocessFailed(String)
Subprocess failure.
TargetNotFound(String)
The named fuzz target was not found in the project.
Trait Implementations§
Source§impl Error for FuzzError
impl Error for FuzzError
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 FuzzError
impl RefUnwindSafe for FuzzError
impl Send for FuzzError
impl Sync for FuzzError
impl Unpin for FuzzError
impl UnsafeUnpin for FuzzError
impl UnwindSafe for FuzzError
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