pub struct DetectWithPrecheckResult {
pub passed: usize,
pub failed_precheck: usize,
pub skipped_no_specs: usize,
pub skipped_by_limit: usize,
pub total_candidates: usize,
}Expand description
Result of detection with pre-check.
Fields§
§passed: usizeNumber of suggestions that passed pre-check and were stored
failed_precheck: usizeNumber of suggestions that failed pre-check
skipped_no_specs: usizeNumber of suggestions skipped due to no MutationSpecs generated
skipped_by_limit: usizeNumber of suggestions skipped due to limit
total_candidates: usizeTotal candidates before limiting (for logging)
Implementations§
Source§impl DetectWithPrecheckResult
impl DetectWithPrecheckResult
Sourcepub fn total_detected(&self) -> usize
pub fn total_detected(&self) -> usize
Total suggestions detected (before pre-check filtering)
Sourcepub fn prechecked(&self) -> usize
pub fn prechecked(&self) -> usize
Number of suggestions that were prechecked
Trait Implementations§
Source§impl Clone for DetectWithPrecheckResult
impl Clone for DetectWithPrecheckResult
Source§fn clone(&self) -> DetectWithPrecheckResult
fn clone(&self) -> DetectWithPrecheckResult
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 DetectWithPrecheckResult
impl Debug for DetectWithPrecheckResult
Source§impl Default for DetectWithPrecheckResult
impl Default for DetectWithPrecheckResult
Source§fn default() -> DetectWithPrecheckResult
fn default() -> DetectWithPrecheckResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DetectWithPrecheckResult
impl RefUnwindSafe for DetectWithPrecheckResult
impl Send for DetectWithPrecheckResult
impl Sync for DetectWithPrecheckResult
impl Unpin for DetectWithPrecheckResult
impl UnsafeUnpin for DetectWithPrecheckResult
impl UnwindSafe for DetectWithPrecheckResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more