[−][src]Enum timely::communication::allocator::generic::Generic
Enumerates known implementors of Allocate
.
Passes trait method calls on to members.
Variants
Thread(Thread)
Intra-thread allocator.
Process(Process)
Inter-thread, intra-process allocator.
ProcessBinary(ProcessAllocator)
Inter-thread, intra-process serializing allocator.
ZeroCopy(TcpAllocator<Process>)
Inter-process allocator.
Methods
impl Generic
[src]
pub fn index(&self) -> usize
[src]
The index of the worker out of (0..self.peers())
.
pub fn peers(&self) -> usize
[src]
The number of workers.
pub fn release(&mut self)
[src]
Perform work after scheduling operators.
Trait Implementations
impl Allocate for Generic
[src]
fn index(&self) -> usize
[src]
fn peers(&self) -> usize
[src]
fn allocate<T>(
&mut self,
identifier: usize
) -> (Vec<Box<dyn Push<Message<T>> + 'static>>, Box<dyn Pull<Message<T>> + 'static>) where
T: Data,
[src]
&mut self,
identifier: usize
) -> (Vec<Box<dyn Push<Message<T>> + 'static>>, Box<dyn Pull<Message<T>> + 'static>) where
T: Data,
fn receive(&mut self)
[src]
fn release(&mut self)
[src]
fn events(&self) -> &Rc<RefCell<VecDeque<(usize, Event)>>>
[src]
fn pipeline<T>(
&mut self,
identifier: usize
) -> (Pusher<Message<T>, Pusher<Message<T>>>, Puller<Message<T>, Puller<Message<T>>>) where
T: 'static,
[src]
&mut self,
identifier: usize
) -> (Pusher<Message<T>, Pusher<Message<T>>>, Puller<Message<T>, Puller<Message<T>>>) where
T: 'static,
Constructs a pipeline channel from the worker to itself. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,