pub struct ExchangeCore<C, D, F> { /* private fields */ }Expand description
An exchange between multiple observers by data
Implementations§
Source§impl<C, D, F: FnMut(&D) -> u64 + 'static> ExchangeCore<C, D, F>
impl<C, D, F: FnMut(&D) -> u64 + 'static> ExchangeCore<C, D, F>
Sourcepub fn new(func: F) -> ExchangeCore<C, D, F>
pub fn new(func: F) -> ExchangeCore<C, D, F>
Allocates a new Exchange pact from a distribution function.
Trait Implementations§
Source§impl<C, D, F> Debug for ExchangeCore<C, D, F>
impl<C, D, F> Debug for ExchangeCore<C, D, F>
Source§impl<T: Timestamp, C, D: Data + Clone, F: FnMut(&D) -> u64 + 'static> ParallelizationContractCore<T, C> for ExchangeCore<C, D, F>
impl<T: Timestamp, C, D: Data + Clone, F: FnMut(&D) -> u64 + 'static> ParallelizationContractCore<T, C> for ExchangeCore<C, D, F>
Auto Trait Implementations§
impl<C, D, F> Freeze for ExchangeCore<C, D, F>where
F: Freeze,
impl<C, D, F> RefUnwindSafe for ExchangeCore<C, D, F>
impl<C, D, F> Send for ExchangeCore<C, D, F>
impl<C, D, F> Sync for ExchangeCore<C, D, F>
impl<C, D, F> Unpin for ExchangeCore<C, D, F>
impl<C, D, F> UnwindSafe for ExchangeCore<C, D, F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more