Trait timely::communication::allocator::zero_copy::bytes_exchange::BytesPull
source · pub trait BytesPull {
// Required method
fn drain_into(&mut self, vec: &mut Vec<Bytes>);
}
Expand description
A source for Bytes
.
Required Methods§
sourcefn drain_into(&mut self, vec: &mut Vec<Bytes>)
fn drain_into(&mut self, vec: &mut Vec<Bytes>)
Drains many bytes from the instance.