Struct byte_channel::sync::ByteReceiver
[−]
[src]
pub struct ByteReceiver<E> { /* fields omitted */ }
Methods
impl<E> ByteReceiver<E>
[src]
fn shrink_window(&self, sz: usize)
impl<E> ByteReceiver<E>
[src]
fn poll_chunk(&mut self, max_sz: usize) -> Result<Async<Option<Chunk>>, E>
Poll at most max_sz
bytes from the channel.