pub trait ReadChar: Read {
    // Provided method
    fn read_char(&mut self) -> Result<Option<char>> { ... }
}
Expand description

Trait to read char

Provided Methods§

source

fn read_char(&mut self) -> Result<Option<char>>

Read a char It is a assumed that the char is represented in native byte order

Errors

errors exactly when Read::read_exact errors

Implementors§

source§

impl<R> ReadChar for Rwhere
R: Read,