timely::communication::allocator::thread

Type Alias ThreadPuller

Source
pub type ThreadPuller<T> = Puller<T, Puller<T>>;
Expand description

Thread-local counting channel pull endpoint.

Aliased Type§

struct ThreadPuller<T> { /* private fields */ }

Implementations

Source§

impl<T, P> Puller<T, P>
where P: Pull<T>,

Source

pub fn new( puller: P, index: usize, events: Rc<RefCell<Vec<usize>>>, ) -> Puller<T, P>

Wraps a puller with a message counter.

Trait Implementations

Source§

impl<T, P> Pull<T> for Puller<T, P>
where P: Pull<T>,

Source§

fn pull(&mut self) -> &mut Option<T>

Pulls an element and provides the opportunity to take ownership. Read more
Source§

fn recv(&mut self) -> Option<T>

Takes an Option<T> and leaves None behind.