pub trait ReportFormatter<P: Package, VS: VersionSet> {
    type Output;

    // Required methods
    fn format_external(&self, external: &External<P, VS>) -> Self::Output;
    fn format_terms(&self, terms: &Map<P, Term<VS>>) -> Self::Output;
}
Expand description

Trait for formatting outputs in the reporter.

Required Associated Types§

source

type Output

Output type of the report.

Required Methods§

source

fn format_external(&self, external: &External<P, VS>) -> Self::Output

Format an External incompatibility.

source

fn format_terms(&self, terms: &Map<P, Term<VS>>) -> Self::Output

Format terms of an incompatibility.

Implementors§