[][src]Struct timely::dataflow::operators::probe::Handle

pub struct Handle<T: Timestamp> { /* fields omitted */ }

Reports information about progress at the probe.

Methods

impl<T: Timestamp> Handle<T>[src]

pub fn less_than(&self, time: &T) -> bool[src]

returns true iff the frontier is strictly less than time.

pub fn less_equal(&self, time: &T) -> bool[src]

returns true iff the frontier is less than or equal to time.

pub fn done(&self) -> bool[src]

returns true iff the frontier is empty.

pub fn new() -> Self[src]

Allocates a new handle.

pub fn with_frontier<R, F: FnMut(AntichainRef<T>) -> R>(&self, function: F) -> R[src]

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]

Auto Trait Implementations

impl<T> !Send for Handle<T>

impl<T> !Sync for Handle<T>

impl<T> Unpin for Handle<T>

impl<T> !UnwindSafe for Handle<T>

impl<T> !RefUnwindSafe for Handle<T>

Blanket Implementations

impl<T> Data for T where
    T: 'static + Clone
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]