pub trait Flusher: Debug + Send + Sync {
    fn flush(&self, slice: &mut [u8]);
}
Expand description

Listener that gets called after every write to the buffer. Its main use is to flush freshly written memory slices.

Required Methods§

Called after slice was written to.

Implementors§