pub trait CharAccumulator: Default {
    // Required method
    fn add(&mut self, byte: u8) -> Option<char>;
}
Expand description

Build a char out of bytes

Required Methods§

source

fn add(&mut self, byte: u8) -> Option<char>

Build a char out of bytes

Return None when more data is needed

Object Safety§

This trait is not object safe.

Implementors§