Trait bytes::buf::Source [] [src]

pub trait Source {
    type Error;
    fn fill<B: MutBuf>(self, buf: &mut B) -> Result<usize, Self::Error>;
}

A value that writes bytes from itself into a MutBuf.

Associated Types

Required Methods

Implementors