Trait timely::dataflow::channels::pact::ParallelizationContract [] [src]

pub trait ParallelizationContract<T: 'static, D: 'static> {
    type Pusher: Push<(T, Content<D>)> + 'static;
    type Puller: Pull<(T, Content<D>)> + 'static;
    fn connect<A: Allocate>(
        self,
        allocator: &mut A,
        identifier: usize
    ) -> (Self::Pusher, Self::Puller); }

A ParallelizationContract allocates paired Push and Pull implementors.

Associated Types

Type implementing Push produced by this pact.

Type implementing Pull produced by this pact.

Required Methods

Alloctes a matched pair of push and pull endpoints implementing the pact.

Implementors