pub trait Decoder<'a, Reader: Read + Debug> {
    // Required method
    fn decode_next(&mut self) -> DecoderResult<char>;
}
Expand description

The very simple trait that should be implemented by any specific decoder

Required Methods§

source

fn decode_next(&mut self) -> DecoderResult<char>

Attempt to decode the next available char from the underlying stream

Implementors§

source§

impl<'a, Reader: Read + Debug> Decoder<'a, Reader> for Utf8Decoder<'a, Reader>