Struct timely_communication::allocator::zero_copy::bytes_exchange::MergeQueue
source · pub struct MergeQueue { /* private fields */ }
Expand description
An unbounded queue of bytes intended for point-to-point communication between threads. Cloning returns another handle to the same queue.
TODO: explain “extend”
Implementations§
source§impl MergeQueue
impl MergeQueue
Trait Implementations§
source§impl BytesPull for MergeQueue
impl BytesPull for MergeQueue
source§fn drain_into(&mut self, vec: &mut Vec<Bytes>)
fn drain_into(&mut self, vec: &mut Vec<Bytes>)
Drains many bytes from the instance.
source§impl BytesPush for MergeQueue
impl BytesPush for MergeQueue
source§fn extend<I: IntoIterator<Item = Bytes>>(&mut self, iterator: I)
fn extend<I: IntoIterator<Item = Bytes>>(&mut self, iterator: I)
Pushes many bytes at the instance.
source§impl Clone for MergeQueue
impl Clone for MergeQueue
source§fn clone(&self) -> MergeQueue
fn clone(&self) -> MergeQueue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MergeQueue
impl RefUnwindSafe for MergeQueue
impl Send for MergeQueue
impl Sync for MergeQueue
impl Unpin for MergeQueue
impl UnwindSafe for MergeQueue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)