Struct timely::dataflow::scopes::root::Root [] [src]

pub struct Root<A: Allocate> { /* fields omitted */ }

A Root is the entry point to a timely dataflow computation. It wraps a Allocate, and has a list of child Operates.

Methods

impl<A: Allocate> Root<A>
[src]

[src]

Allocates a new Root bound to a channel allocator.

[src]

Performs one step of the computation.

A step gives each dataflow operator a chance to run, and is the main way to ensure that a computation procedes.

[src]

Calls self.step() as long as func evaluates to true.

[src]

The index of the worker out of its peers.

[src]

The total number of peer workers.

[src]

Construct a new dataflow.

[src]

Construct a new dataflow binding resources that are released only after the dataflow is dropped.

This method is designed to allow the dataflow builder to use certain resources that are then stashed with the dataflow until it has completed running. Once complete, the resources are dropped. The most common use of this method at present is with loading shared libraries, where the library is important for building the dataflow, and must be kept around until after the dataflow has completed operation.

Trait Implementations

impl<A: Allocate> ScopeParent for Root<A>
[src]

The timestamp associated with data in this scope.

[src]

Allocates a new locally unique identifier.

impl<A: Allocate> Allocate for Root<A>
[src]

[src]

The index of the worker out of (0..self.peers()).

[src]

The number of workers.

[src]

Constructs several send endpoints and one receive endpoint.

impl<A: Allocate> Clone for Root<A>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more