#[non_exhaustive]pub enum EvidenceKind {
CloudflareChallenge,
RateLimited,
}Expand description
What kind of cross-scan evidence triggered the finding.
Maps 1:1 to the UncertainReason taxonomy that drives
escalation, plus a “browser succeeded” bucket for outcomes where
escalation already happened and produced a verdict.
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.
CloudflareChallenge
HTTP-path Uncertain(cloudflare_challenge) or the same reason
resolved after escalation through the browser.
RateLimited
HTTP-path Uncertain(rate_limited) or the same reason resolved
after escalation.
Implementations§
Source§impl EvidenceKind
impl EvidenceKind
Sourcepub const fn suggested_protection(self) -> ProtectionKind
pub const fn suggested_protection(self) -> ProtectionKind
Map evidence to the ProtectionKind suggestion. Both
existing kinds point at Cloudflare today — even rate-limit
edges most commonly sit behind Cloudflare’s WAF — but the
mapping is enum-keyed so a future split (e.g. DdosGuard /
CfFirewall) can be added without touching callers.
Trait Implementations§
Source§impl Clone for EvidenceKind
impl Clone for EvidenceKind
Source§fn clone(&self) -> EvidenceKind
fn clone(&self) -> EvidenceKind
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 EvidenceKind
impl Debug for EvidenceKind
Source§impl Hash for EvidenceKind
impl Hash for EvidenceKind
Source§impl PartialEq for EvidenceKind
impl PartialEq for EvidenceKind
Source§fn eq(&self, other: &EvidenceKind) -> bool
fn eq(&self, other: &EvidenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EvidenceKind
impl Eq for EvidenceKind
impl StructuralPartialEq for EvidenceKind
Auto Trait Implementations§
impl Freeze for EvidenceKind
impl RefUnwindSafe for EvidenceKind
impl Send for EvidenceKind
impl Sync for EvidenceKind
impl Unpin for EvidenceKind
impl UnsafeUnpin for EvidenceKind
impl UnwindSafe for EvidenceKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.