Skip to main content

ErrorSink

Trait ErrorSink 

Source
pub trait ErrorSink {
    // Required method
    fn error(&mut self, e: FormatError);
}
Expand description

An error sink.

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl ErrorSink for Vec<FormatError>

Source§

fn error(&mut self, e: FormatError)

Implementors§