pub trait ErrorSink {
// Required method
fn error(&mut self, e: FormatError);
}Expand description
An error sink.
Required Methods§
Sourcefn error(&mut self, e: FormatError)
fn error(&mut self, e: FormatError)
Reports e.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".