Struct timely::communication::allocator::zero_copy::push_pull::PullerInner
source · pub struct PullerInner<T> { /* private fields */ }
Expand description
An adapter from which one can pull elements of type T
.
This type is very simple, and just consumes owned Vec<u8>
allocations. It is
not the most efficient thing possible, which would probably instead be something
like the bytes
crate (../bytes/) which provides an exclusive view of a shared
allocation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for PullerInner<T>where
T: Freeze,
impl<T> !RefUnwindSafe for PullerInner<T>
impl<T> !Send for PullerInner<T>
impl<T> !Sync for PullerInner<T>
impl<T> Unpin for PullerInner<T>where
T: Unpin,
impl<T> !UnwindSafe for PullerInner<T>
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