Struct timely::dataflow::channels::pushers::buffer::Buffer [] [src]

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

Buffers data sent at the same time, for efficient communication.

The Buffer type should be used by calling session with a time, which checks whether data must be flushed and creates a Session object which allows sending at the given time.

Methods

impl<T, D, P: Push<(T, Content<D>)>> Buffer<T, D, P> where
    T: Eq + Clone
[src]

[src]

Creates a new Buffer.

[src]

Returns a Session, which accepts data to send at the associated time

[src]

Allocates a new AutoflushSession which flushes itself on drop.

Important traits for &'a mut I
[src]

Returns a reference to the inner P: Push type.

This is currently used internally, and should not be used without some care.

[src]

Flushes all data and pushes a None to self.pusher, indicating a flush.