pub trait BufRead: BufInterest {
// Required method
fn do_io<Io: Read>(&mut self, io: &mut Io) -> Result<()>;
}
Expand description
trait generic over different types of read buffer strategy.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.