pub trait IoRead { // Required method fn read(&self, buf: &mut [u8]) -> Result<usize, ReadError>; }
Trait for stdin
Read data into buf, returning the number of bytes read.