pub trait ErrorSink {
// Required method
fn report_error(&mut self, error: ParseError);
}Required Methods§
fn report_error(&mut self, error: ParseError)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl ErrorSink for ()
impl ErrorSink for ()
fn report_error(&mut self, _error: ParseError)
Source§impl ErrorSink for Option<ParseError>
impl ErrorSink for Option<ParseError>
fn report_error(&mut self, error: ParseError)
Source§impl ErrorSink for Vec<ParseError>
Available on crate feature alloc only.
impl ErrorSink for Vec<ParseError>
Available on crate feature
alloc only.