pub enum Confidence {
VeryHigh,
High,
Medium,
Low,
None,
Unknown,
}Expand description
Confidence the sidecar attaches to a Finding::verdict.
Variants§
VeryHigh
Combined static + runtime signal: statically unused AND tracked AND zero invocations. Strongest delete signal the sidecar emits.
High
Strong signal — one of static or runtime is dispositive, the other agrees.
Medium
Signals agree but observation volume or coverage fidelity tempers the call.
Low
Weak signal — a single data point suggests the verdict but other evidence is missing or ambiguous.
None
Explicit absence of confidence (e.g. coverage unavailable).
Unknown
Sentinel for forward-compatibility.
Trait Implementations§
Source§impl Clone for Confidence
impl Clone for Confidence
Source§fn clone(&self) -> Confidence
fn clone(&self) -> Confidence
Returns a duplicate of the value. Read more
1.0.0 · 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 Confidence
impl Debug for Confidence
Source§impl<'de> Deserialize<'de> for Confidence
impl<'de> Deserialize<'de> for Confidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Confidence
impl PartialEq for Confidence
Source§impl Serialize for Confidence
impl Serialize for Confidence
impl Copy for Confidence
impl Eq for Confidence
impl StructuralPartialEq for Confidence
Auto Trait Implementations§
impl Freeze for Confidence
impl RefUnwindSafe for Confidence
impl Send for Confidence
impl Sync for Confidence
impl Unpin for Confidence
impl UnsafeUnpin for Confidence
impl UnwindSafe for Confidence
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