Trait kodept_macros::traits::Reporter
source · 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§
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)
Object Safety§
This trait is not object safe.