pub trait Finding: Serialize {
// Required methods
fn kind(&self) -> String;
fn name(&self) -> String;
fn file(&self) -> String;
fn line(&self) -> usize;
fn column(&self) -> usize;
fn reason(&self) -> String;
fn confidence(&self) -> String;
}Expand description
Trait for analysis findings that can be reported
Required Methods§
Sourcefn confidence(&self) -> String
fn confidence(&self) -> String
Get the confidence level
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.