pub trait ReadExt: Read {
// Required method
fn read_to_tendril<A>(
&mut self,
buf: &mut Tendril<Bytes, A>,
) -> Result<usize, Error>
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, Error>where
A: Atomicity,
Object Safety§
This trait is not object safe.