html5ever::tendril

Trait ReadExt

Source
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§

Source

fn read_to_tendril<A>( &mut self, buf: &mut Tendril<Bytes, A>, ) -> Result<usize, Error>
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.

Implementors§

Source§

impl<T> ReadExt for T
where T: Read,