Trait rustc_serialize::DecoderHelpers [-] [+] [src]

pub trait DecoderHelpers: Decoder {
    fn read_to_vec<T, F>(&mut self, f: F) -> Result<Vec<T>, Self::Error> where F: FnMut(&mut Self) -> Result<T, Self::Error>;
}

Required Methods

fn read_to_vec<T, F>(&mut self, f: F) -> Result<Vec<T>, Self::Error> where F: FnMut(&mut Self) -> Result<T, Self::Error>

Implementors