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

pub struct AutoflushSession<'a, T: Timestamp, D, P: Push<Bundle<T, 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<Bundle<T, D>> + 'a> AutoflushSession<'a, T, D, P> where
    T: Eq + Clone + 'a,
    D: 'a, 
[src]

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 Vec<D>)[src]

Transmits a pre-packed batch of data.

Trait Implementations

impl<'a, T: Timestamp, D, P: Push<Bundle<T, D>> + 'a> Drop for AutoflushSession<'a, T, D, P> where
    T: Eq + Clone + 'a,
    D: 'a, 
[src]

Auto Trait Implementations

impl<'a, T, D, P> !Send for AutoflushSession<'a, T, D, P>

impl<'a, T, D, P> !Sync for AutoflushSession<'a, T, D, P>

impl<'a, T, D, P> Unpin for AutoflushSession<'a, T, D, P> where
    T: Unpin

impl<'a, T, D, P> !UnwindSafe for AutoflushSession<'a, T, D, P>

impl<'a, T, D, P> !RefUnwindSafe for AutoflushSession<'a, T, D, P>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]