pub trait Collector {
// Required methods
fn description(&self) -> &str;
fn collect(
&mut self,
crate_info: &CrateInfo<'_>
) -> Result<ReportEntry, CollectionError>;
}
Expand description
Implement this trait to define customized information collectors.