pub trait Reporter: FileContextual {
    // Required method
    fn report(&mut self, report: Report);

    // Provided methods
    fn report_and_fail<R: Into<ReportMessage>>(
        &self,
        at: Vec<CodePoint>,
        message: R
    ) -> Result<Infallible, UnrecoverableError> { ... }
    fn add_report<R: Into<ReportMessage>>(
        &mut self,
        at: Vec<CodePoint>,
        message: R
    ) { ... }
}

Required Methods§

source

fn report(&mut self, report: Report)

Provided Methods§

source

fn report_and_fail<R: Into<ReportMessage>>( &self, at: Vec<CodePoint>, message: R ) -> Result<Infallible, UnrecoverableError>

source

fn add_report<R: Into<ReportMessage>>(&mut self, at: Vec<CodePoint>, message: R)

Object Safety§

This trait is not object safe.

Implementors§