function used to detect vulnerabilities TBD
Last updated 1 year ago
Was this helpful?
severity
fn severity(&self) -> IssueSeverity
Definition:
Returns the severity level of the issue detected by the implementor of this trait.
Returns:
IssueSeverity: The severity of the issue, which could be Low, Medium, or High.
IssueSeverity
Low
Medium
High
fn severity(&self) -> IssueSeverity { IssueSeverity::High }
pub enum IssueSeverity { Low, High, }
source: