Trait logged_stream::BufferFormatter
source · pub trait BufferFormatter: Sized + 'static {
// Required methods
fn get_separator(&self) -> &'static str;
fn format_byte(byte: &u8) -> String;
// Provided method
fn format_buffer(&self, buffer: &[u8]) -> String { ... }
}Expand description
Trait