Skip to main content
name()
Updated over a month ago

name

fn name(&self) -> String

Returns the name of the detector as specified in IssueDetectorNamePool, which categorizes the type of issue.

Returns:

  • String: A string representation of the issue detector's name, helpful for identifying and categorizing different types of detectors.

Example:

fn name(&self) -> String { format!("{}", IssueDetectorNamePool::ArbitraryTransferFrom) }
Did this answer your question?