pub trait ParallelizationContract<T, C> {
type Pusher: Push<Message<T, C>> + 'static;
type Puller: Pull<Message<T, C>> + 'static;
// Required method
fn connect(
self,
worker: &Worker,
identifier: usize,
address: Rc<[usize]>,
logging: Option<Logger>,
) -> (Self::Pusher, Self::Puller);
}Expand description
A ParallelizationContract allocates paired Push and Pull implementors.