pub trait Warn<E: Error> {
fn warn(&mut self, error: E);
}
Expand description
Sink to which the non-fatal errors of type E
can be written
Push the error error
to the sink
sourceimpl<'a, D, E, F, W> Warn<D> for AdaptMap<'a, D, E, F, W>where
D: Error,
E: Error,
F: FnMut(D) -> E,
W: Warn<E>,