Struct timely::dataflow::channels::pushers::counter::Counter [] [src]

pub struct Counter<T: Ord, D, P: Push<(T, Content<D>)>> { /* fields omitted */ }

A wrapper which updates shared produced based on the number of records pushed.

Methods

impl<T, D, P: Push<(T, Content<D>)>> Counter<T, D, P> where
    T: Ord + Clone + 'static, 
[src]

[src]

Allocates a new Counter from a pushee and shared counts.

[src]

A references to shared changes in counts, for cloning or draining.

Trait Implementations

impl<T: Ord, D, P: Push<(T, Content<D>)>> Push<(T, Content<D>)> for Counter<T, D, P> where
    T: Eq + Clone + 'static, 
[src]

[src]

Pushes element and provides the opportunity to take ownership. Read more

[src]

Pushes element and drops any resulting resources.

[src]

Pushes None, conventionally signalling a flush.