impl Buffer for ChanReader
auto merge of #17998 : rapha/rust/master, r=alexcrichton