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

Required Methods§

source

fn get_separator(&self) -> &'static str

source

fn format_byte(byte: &u8) -> String

Provided Methods§

source

fn format_buffer(&self, buffer: &[u8]) -> String

Implementors§