pub trait ParallelizationContract<T, C> {
type Pusher: Push<Bundle<T, C>> + 'static;
type Puller: Pull<Bundle<T, C>> + 'static;
// Required method
fn connect<A: AsWorker>(
self,
allocator: &mut A,
identifier: usize,
address: Rc<[usize]>,
logging: Option<Logger>,
) -> (Self::Pusher, Self::Puller);
}
Expand description
A ParallelizationContract
allocates paired Push
and Pull
implementors.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.