Struct timely::dataflow::channels::pushers::buffer::AutoflushSession
[−]
[src]
pub struct AutoflushSession<'a, T: Timestamp, D, P: Push<(T, Content<D>)> + 'a> where
T: Eq + Clone + 'a,
D: 'a, { /* fields omitted */ }
A session which will flush itself when dropped.
Methods
impl<'a, T: Timestamp, D, P: Push<(T, Content<D>)> + 'a> AutoflushSession<'a, T, D, P> where
T: Eq + Clone + 'a,
D: 'a,
[src]
T: Eq + Clone + 'a,
D: 'a,
pub fn give(&mut self, data: D)
[src]
Transmits a single record.
pub fn give_iterator<I: Iterator<Item = D>>(&mut self, iter: I)
[src]
Transmits records produced by an iterator.
pub fn give_content(&mut self, message: &mut Content<D>)
[src]
Transmits a pre-packed batch of data.
Trait Implementations
impl<'a, T: Timestamp, D, P: Push<(T, Content<D>)> + 'a> Drop for AutoflushSession<'a, T, D, P> where
T: Eq + Clone + 'a,
D: 'a,
[src]
T: Eq + Clone + 'a,
D: 'a,