Struct input_buffer::DoRead [−][src]
pub struct DoRead<'t> { /* fields omitted */ }The reference to the buffer used for reading.
Methods
impl<'t> DoRead<'t>[src]
impl<'t> DoRead<'t>pub fn with_limit(self, limit: usize) -> Result<Self, SizeLimit>[src]
pub fn with_limit(self, limit: usize) -> Result<Self, SizeLimit>Enforce the size limit.
pub fn read_from<S: Read>(self, stream: &mut S) -> IoResult<usize>[src]
pub fn read_from<S: Read>(self, stream: &mut S) -> IoResult<usize>Read next portion of data from the given input stream.