timely::communication::allocator::zero_copy::bytes_exchange

Trait BytesPull

Source
pub trait BytesPull {
    // Required method
    fn drain_into(&mut self, vec: &mut Vec<Bytes>);
}
Expand description

A source for Bytes.

Required Methods§

Source

fn drain_into(&mut self, vec: &mut Vec<Bytes>)

Drains many bytes from the instance.

Implementors§