pub enum Error {
Core(CoreError),
Crash(CrashError),
Exception(ExceptionError),
Hook(HookError),
Hypervisor(HypervisorError),
Loader(LoaderError),
Memory(MemoryError),
Generic(String),
}
Expand description
Main error structure which is just a simple wrapper for all errors that can be returned by the fuzzer.
Variants
Core(CoreError)
Core-related errors.
Crash(CrashError)
Crash-related errors.
Exception(ExceptionError)
Exception-related errors.
Hook(HookError)
Hook-related errors.
Hypervisor(HypervisorError)
Hypervisor-related errors.
Loader(LoaderError)
Loader-related errors.
Memory(MemoryError)
Memory-related errors.
Generic(String)
Generic user-defined errors.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
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()
sourceimpl From<CrashError> for Error
impl From<CrashError> for Error
sourcefn from(error: CrashError) -> Self
fn from(error: CrashError) -> Self
Converts to this type from the input type.
sourceimpl From<ExceptionError> for Error
impl From<ExceptionError> for Error
sourcefn from(error: ExceptionError) -> Self
fn from(error: ExceptionError) -> Self
Converts to this type from the input type.
sourceimpl From<HypervisorError> for Error
impl From<HypervisorError> for Error
sourcefn from(error: HypervisorError) -> Self
fn from(error: HypervisorError) -> Self
Converts to this type from the input type.
sourceimpl From<LayoutError> for Error
impl From<LayoutError> for Error
sourcefn from(error: LayoutError) -> Self
fn from(error: LayoutError) -> Self
Converts to this type from the input type.
sourceimpl From<LoaderError> for Error
impl From<LoaderError> for Error
sourcefn from(error: LoaderError) -> Self
fn from(error: LoaderError) -> Self
Converts to this type from the input type.
sourceimpl From<MemoryError> for Error
impl From<MemoryError> for Error
sourcefn from(error: MemoryError) -> Self
fn from(error: MemoryError) -> Self
Converts to this type from the input type.
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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