Struct timely_util::Child

source ·
pub struct Child<'a, G, T>where
    G: ScopeParent,
    T: Timestamp + Refines<<G as ScopeParent>::Timestamp>,
{ pub subgraph: &'a RefCell<SubgraphBuilder<<G as ScopeParent>::Timestamp, T>>, pub parent: G, pub logging: Option<Logger<TimelyEvent, usize>>, pub progress_logging: Option<Logger<TimelyProgressEvent, usize>>, }
Expand description

A Child wraps a Subgraph and a parent G: Scope. It manages the addition of Operates to a subgraph, and the connection of edges between them.

Fields§

§subgraph: &'a RefCell<SubgraphBuilder<<G as ScopeParent>::Timestamp, T>>

The subgraph under assembly.

§parent: G

A copy of the child’s parent scope.

§logging: Option<Logger<TimelyEvent, usize>>

The log writer for this scope.

§progress_logging: Option<Logger<TimelyProgressEvent, usize>>

The progress log writer for this scope.

Implementations§

This worker’s unique identifier.

Ranges from 0 to self.peers() - 1.

The total number of workers in the computation.

Trait Implementations§

Returns the worker configuration parameters.
Index of the worker among its peers.
Number of peer workers.
Allocates a new channel from a supplied identifier and address. Read more
Constructs a pipeline channel from the worker to itself. Read more
Allocates a new worker-unique identifier.
Provides access to named logging streams.
Provides access to the timely logging stream.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Creates a Stream and a Handle to later bind the source of that Stream. Read more
Provides a shared handle to the activation scheduler.
Constructs an Activator tied to the specified operator address.
Constructs a SyncActivator tied to the specified operator address.
A useful name describing the scope.
A sequence of scope identifiers describing the path from the worker root to this scope.
Connects a source of data with a target of the data. This only links the two for the purposes of tracking progress, rather than effect any data movement itself.
Adds a child Operate to the builder’s scope using supplied indices. Read more
Allocates a new scope-local operator index. Read more
Creates a dataflow subgraph. Read more
Adds a child Operate to the builder’s scope. Returns the new child’s index.
Adds a child Operate to the builder’s scope using a supplied index. Read more
Creates a iterative dataflow subgraph. Read more
Creates a dataflow region with the same timestamp. Read more
Creates a dataflow region with the same timestamp. Read more
The timestamp associated with data in this scope.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Merge the contents of multiple streams. Read more
Creates a Stream and a Handle to later bind the source of that Stream. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Create a new capability-based Stream and Handle through which to supply input. This input supports multiple open epochs (timestamps) at the same time. Read more