[−][src]Trait bytes::buf::BufExt
An extension trait providing extra functions applicable to all Buf
values.
Required methods
fn read<S: Sink>(&mut self, dst: S) -> Result<usize, S::Error>
Read bytes from this Buf into the given sink and advance the cursor by the number of bytes read.