pub trait ToSarif { type Sarif; type Error; // Required method fn to_sarif(&self, files: &FileLibrary) -> Result<Self::Sarif, Self::Error>; }
A trait for objects that can be converted into a Sarif artifact.
Converts the object to the corresponding Sarif artifact.