Trait xml5ever::tendril::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,

Object Safety§

This trait is not object safe.

Implementors§

source§

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