Struct chomp::buffer::data_source::ReadDataSource
[−]
[src]
pub struct ReadDataSource<R: Read>(_);
Implementation of DataSource for io::Read instances.
Methods
impl<R: Read> ReadDataSource<R>[src]
fn new(inner: R) -> Self
Creates a new ReadDataSource from a Read instance.
fn into_inner(self) -> R
Consumes self to reveal the underlying Read instance.