Struct timely::dataflow::operators::probe::Handle
[−]
[src]
pub struct Handle<T: Timestamp> { /* fields omitted */ }
Reports information about progress at the probe.
Methods
impl<T: Timestamp> Handle<T>
[src]
fn less_than(&self, time: &T) -> bool
returns true iff the frontier is strictly less than time
.
fn less_equal(&self, time: &T) -> bool
returns true iff the frontier is less than or equal to time
.
fn done(&self) -> bool
returns true iff the frontier is empty.
fn new() -> Self
Allocates a new handle.
fn with_frontier<R, F: Fn(&[T]) -> R>(&self, function: F) -> R
Invokes a method on the frontier, returning its result.
This method allows inspection of the frontier, which cannot be returned by reference as
it is on the other side of a RefCell
.
Examples
use timely::dataflow::operators::probe::Handle; let handle = Handle::<usize>::new(); let frontier = handle.with_frontier(|frontier| frontier.to_vec());
Trait Implementations
impl<T: Timestamp> Clone for Handle<T>
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more