pub type Exchange<D, F> = ExchangeCore<CapacityContainerBuilder<Vec<D>>, F>;
Expand description
ExchangeCore specialized to vector-based containers.
Aliased Type§
struct Exchange<D, F> { /* private fields */ }
Implementations
Source§impl<CB, F> ExchangeCore<CB, F>
impl<CB, F> ExchangeCore<CB, F>
Sourcepub fn new_core(func: F) -> ExchangeCore<CB, F>
pub fn new_core(func: F) -> ExchangeCore<CB, F>
Allocates a new Exchange
pact from a distribution function.
Source§impl<C, F> ExchangeCore<CapacityContainerBuilder<C>, F>
impl<C, F> ExchangeCore<CapacityContainerBuilder<C>, F>
Sourcepub fn new(func: F) -> ExchangeCore<CapacityContainerBuilder<C>, F>
pub fn new(func: F) -> ExchangeCore<CapacityContainerBuilder<C>, F>
Allocates a new Exchange
pact from a distribution function.
Trait Implementations
Source§impl<C, F> Debug for ExchangeCore<C, F>
impl<C, F> Debug for ExchangeCore<C, F>
Source§impl<T: Timestamp, CB, H> ParallelizationContract<T, <CB as ContainerBuilder>::Container> for ExchangeCore<CB, H>
impl<T: Timestamp, CB, H> ParallelizationContract<T, <CB as ContainerBuilder>::Container> for ExchangeCore<CB, H>
Source§type Pusher = Exchange<T, CB, LogPusher<T, <CB as ContainerBuilder>::Container, Box<dyn Push<Message<T, <CB as ContainerBuilder>::Container>>>>, H>
type Pusher = Exchange<T, CB, LogPusher<T, <CB as ContainerBuilder>::Container, Box<dyn Push<Message<T, <CB as ContainerBuilder>::Container>>>>, H>
Type implementing
Push
produced by this pact.