pub enum Verdict {
SafeToDelete,
ReviewRequired,
CoverageUnavailable,
LowTraffic,
Active,
Unknown,
}Expand description
Per-finding verdict. Replaces the 0.1 CallState enum.
Variants§
SafeToDelete
Statically unused AND never invoked in production with coverage tracked.
ReviewRequired
Used somewhere statically / by tests / by an untracked call site but never invoked in production. Needs a human look.
V8 could not observe the function (lazy-parsed, worker thread, dynamic code). Nothing can be said about runtime behaviour.
LowTraffic
Invoked in production but below the configured low-traffic threshold
relative to trace_count. Effectively dead in the current period.
Active
Function was invoked above the low-traffic threshold — not dead.
Unknown
Sentinel for forward-compatibility.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Verdict
impl<'de> Deserialize<'de> for Verdict
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
impl Copy for Verdict
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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