Trait bytes::buf::Sink [] [src]

pub trait Sink {
    type Error;
    fn sink<B: Buf>(self, buf: &mut B) -> Result<usize, Self::Error>;
}

A value that reads bytes from a Buf into itself

Associated Types

Required Methods

Implementors