pub enum PrecisionContract {
ZeroFalsePositive,
RecallDriven,
FalseNegativesAccepted,
}Expand description
Precision contract requested by a consumer pipeline.
This is the policy layer above individual primitive markers. A
pipeline that promises zero false positives cannot freely compose
every MayOver analysis; it must either stay Exact end to end or
prove that a downstream sanitizer filter bounds the over-approximate
primitive before the result escapes.
Variants§
ZeroFalsePositive
Results must not contain false positives.
RecallDriven
Results must not contain false negatives.
FalseNegativesAccepted
The consumer explicitly accepts false negatives.
Trait Implementations§
Source§impl Clone for PrecisionContract
impl Clone for PrecisionContract
Source§fn clone(&self) -> PrecisionContract
fn clone(&self) -> PrecisionContract
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 moreimpl Copy for PrecisionContract
Source§impl Debug for PrecisionContract
impl Debug for PrecisionContract
impl Eq for PrecisionContract
Source§impl Hash for PrecisionContract
impl Hash for PrecisionContract
Source§impl PartialEq for PrecisionContract
impl PartialEq for PrecisionContract
impl StructuralPartialEq for PrecisionContract
Auto Trait Implementations§
impl Freeze for PrecisionContract
impl RefUnwindSafe for PrecisionContract
impl Send for PrecisionContract
impl Sync for PrecisionContract
impl Unpin for PrecisionContract
impl UnsafeUnpin for PrecisionContract
impl UnwindSafe for PrecisionContract
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.