Trait Flusher
pub trait Flusher:
Debug
+ Send
+ Sync {
// Required method
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.