pub trait ReadExt: Read {
// Required method
fn read_to_tendril<A>(
&mut self,
buf: &mut Tendril<Bytes, A>,
) -> Result<usize>
where A: Atomicity;
}
Expand description
Extension trait for io::Read
.
Required Methods§
fn read_to_tendril<A>(&mut self, buf: &mut Tendril<Bytes, A>) -> Result<usize>where
A: Atomicity,
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.