[]Trait xml5ever::tendril::ReadExt

pub trait ReadExt: Read {
    fn read_to_tendril<A>(
        &mut self,
        buf: &mut Tendril<Bytes, A>
    ) -> Result<usize, Error>
    where
        A: Atomicity
; }

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

Loading content...

Implementors

impl<T> ReadExt for T where
    T: Read

fn read_to_tendril<A>(
    &mut self,
    buf: &mut Tendril<Bytes, A>
) -> Result<usize, Error> where
    A: Atomicity

Read all bytes until EOF.

Loading content...