#[non_exhaustive]pub enum HitOutcome {
Handled(u16),
Fault(u16),
Unreachable(String),
}Expand description
How the target responded to one fuzz input.
Marked #[non_exhaustive]: a coverage-guided engine distinguishes more
outcomes than these three. A downstream wildcard arm should treat an
unrecognized outcome as an anomaly, the way FuzzHit::is_anomaly does.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Handled(u16)
The server answered with a non-error status (< 500).
Fault(u16)
The server answered with a 5xx — the input tripped a server-side fault.
Unreachable(String)
The request could not be completed (connection refused, timeout, …).
Trait Implementations§
Source§impl Clone for HitOutcome
impl Clone for HitOutcome
Source§fn clone(&self) -> HitOutcome
fn clone(&self) -> HitOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HitOutcome
impl Debug for HitOutcome
impl Eq for HitOutcome
Source§impl PartialEq for HitOutcome
impl PartialEq for HitOutcome
impl StructuralPartialEq for HitOutcome
Auto Trait Implementations§
impl Freeze for HitOutcome
impl RefUnwindSafe for HitOutcome
impl Send for HitOutcome
impl Sync for HitOutcome
impl Unpin for HitOutcome
impl UnsafeUnpin for HitOutcome
impl UnwindSafe for HitOutcome
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