Struct timely::dataflow::channels::pushers::tee::Tee [] [src]

pub struct Tee<T: 'static, D: 'static> {
    // some fields omitted
}

Wraps a shared list of Box<Push> to forward pushes to. Owned by Stream.

Methods

impl<T, D> Tee<T, D>
[src]

fn new() -> (Tee<T, D>, TeeHelper<T, D>)

Allocates a new pair of Tee and TeeHelper.

Trait Implementations

impl<T: Clone + 'static, D: Abomonation + Clone + 'static> Push<(T, Content<D>)> for Tee<T, D>
[src]

fn push(&mut self, message: &mut Option<(T, Content<D>)>)

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

fn send(&mut self, element: T)

Pushes element and drops any resulting resources.

fn done(&mut self)

Pushes None, conventionally signalling a flush.

impl<T, D> Clone for Tee<T, D>
[src]

fn clone(&self) -> Tee<T, D>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more