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

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

Required Methods

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

Implementors