pub trait Pusher: Send + 'static {
type Error: Send + Unpin + 'static;
// Required method
fn push(
&mut self,
range: &ProgressEntry,
content: Bytes,
) -> Result<(), (Self::Error, Bytes)>;
// Provided method
fn flush(&mut self) -> Result<(), Self::Error> { ... }
}