Struct timely::progress::broadcast::Progcaster
source · pub struct Progcaster<T: Timestamp> { /* private fields */ }
Expand description
Manages broadcasting of progress updates to and receiving updates from workers.
Implementations§
source§impl<T: Timestamp + Send> Progcaster<T>
impl<T: Timestamp + Send> Progcaster<T>
sourcepub fn new<A: AsWorker>(
worker: &mut A,
path: &Vec<usize>,
logging: Option<Logger>,
progress_logging: Option<ProgressLogger>
) -> Progcaster<T>
pub fn new<A: AsWorker>( worker: &mut A, path: &Vec<usize>, logging: Option<Logger>, progress_logging: Option<ProgressLogger> ) -> Progcaster<T>
Creates a new Progcaster
using a channel from the supplied worker.
sourcepub fn send(&mut self, changes: &mut ChangeBatch<(Location, T)>)
pub fn send(&mut self, changes: &mut ChangeBatch<(Location, T)>)
Sends pointstamp changes to all workers.
sourcepub fn recv(&mut self, changes: &mut ChangeBatch<(Location, T)>)
pub fn recv(&mut self, changes: &mut ChangeBatch<(Location, T)>)
Receives pointstamp changes from all workers.
Auto Trait Implementations§
impl<T> Freeze for Progcaster<T>
impl<T> !RefUnwindSafe for Progcaster<T>
impl<T> !Send for Progcaster<T>
impl<T> !Sync for Progcaster<T>
impl<T> Unpin for Progcaster<T>where
T: Unpin,
impl<T> !UnwindSafe for Progcaster<T>
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
source§impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.