Struct std::io::util::ChainedReaderExperimental [-]  [+] [src]

pub struct ChainedReader<I, R> {
    // some fields omitted
}

A Reader which chains input from multiple Readers, reading each to completion before moving onto the next.

Methods

impl<R: Reader, I: Iterator<R>> ChainedReader<I, R>

fn new(readers: I) -> ChainedReader<I, R>

Creates a new ChainedReader

Trait Implementations

impl<R: Reader, I: Iterator<R>> Reader for ChainedReader<I, R>

fn read(&mut self, buf: &mut [u8]) -> IoResult<uint>

fn read_at_least(&mut self, min: uint, buf: &mut [u8]) -> IoResult<uint>

fn read_byte(&mut self) -> IoResult<u8>

fn push(&mut self, len: uint, buf: &mut Vec<u8>) -> IoResult<uint>

fn push_at_least(&mut self, min: uint, len: uint, buf: &mut Vec<u8>) -> IoResult<uint>

fn read_exact(&mut self, len: uint) -> IoResult<Vec<u8>>

fn read_to_end(&mut self) -> IoResult<Vec<u8>>

fn read_to_string(&mut self) -> IoResult<String>

fn read_le_uint_n(&mut self, nbytes: uint) -> IoResult<u64>

fn read_le_int_n(&mut self, nbytes: uint) -> IoResult<i64>

fn read_be_uint_n(&mut self, nbytes: uint) -> IoResult<u64>

fn read_be_int_n(&mut self, nbytes: uint) -> IoResult<i64>

fn read_le_uint(&mut self) -> IoResult<uint>

fn read_le_int(&mut self) -> IoResult<int>

fn read_be_uint(&mut self) -> IoResult<uint>

fn read_be_int(&mut self) -> IoResult<int>

fn read_be_u64(&mut self) -> IoResult<u64>

fn read_be_u32(&mut self) -> IoResult<u32>

fn read_be_u16(&mut self) -> IoResult<u16>

fn read_be_i64(&mut self) -> IoResult<i64>

fn read_be_i32(&mut self) -> IoResult<i32>

fn read_be_i16(&mut self) -> IoResult<i16>

fn read_be_f64(&mut self) -> IoResult<f64>

fn read_be_f32(&mut self) -> IoResult<f32>

fn read_le_u64(&mut self) -> IoResult<u64>

fn read_le_u32(&mut self) -> IoResult<u32>

fn read_le_u16(&mut self) -> IoResult<u16>

fn read_le_i64(&mut self) -> IoResult<i64>

fn read_le_i32(&mut self) -> IoResult<i32>

fn read_le_i16(&mut self) -> IoResult<i16>

fn read_le_f64(&mut self) -> IoResult<f64>

fn read_le_f32(&mut self) -> IoResult<f32>

fn read_u8(&mut self) -> IoResult<u8>

fn read_i8(&mut self) -> IoResult<i8>

Derived Implementations

impl<I: Clone, R: Clone> Clone for ChainedReader<I, R>

fn clone(&self) -> ChainedReader<I, R>

fn clone_from(&mut self, source: &Self)