Struct timely::dataflow::stream::Stream[][src]

pub struct Stream<S: Scope, D> { /* fields omitted */ }

Abstraction of a stream of D: Data records timestamped with S::Timestamp.

Internally Stream maintains a list of data recipients who should be presented with data produced by the source of the stream.

Implementations

impl<S: Scope, D> Stream<S, D>[src]

pub fn connect_to<P: Push<Bundle<S::Timestamp, D>> + 'static>(
    &self,
    target: Target,
    pusher: P,
    identifier: usize
)
[src]

Connects the stream to a destination.

The destination is described both by a Target, for progress tracking information, and a P: Push where the records should actually be sent. The identifier is unique to the edge and is used only for logging purposes.

pub fn new(source: Source, output: TeeHelper<S::Timestamp, D>, scope: S) -> Self[src]

Allocates a Stream from a supplied Source name and rendezvous point.

pub fn name(&self) -> &Source[src]

The name of the stream’s source operator.

pub fn scope(&self) -> S[src]

The scope immediately containing the stream.

Trait Implementations

impl<G: Scope, D: Data> Accumulate<G, D> for Stream<G, D>[src]

impl<S: Scope, K: ExchangeData + Hash + Eq, V: ExchangeData> Aggregate<S, K, V> for Stream<S, (K, V)>[src]

impl<S: Scope, D: Data> Branch<S, D> for Stream<S, D>[src]

impl<S: Scope, D: Data> BranchWhen<S, D> for Stream<S, D>[src]

impl<G: Scope, D: ExchangeData> Broadcast<D> for Stream<G, D>[src]

impl<S: Scope, D: Data> Capture<<S as ScopeParent>::Timestamp, D> for Stream<S, D>[src]

impl<S: Clone + Scope, D: Clone> Clone for Stream<S, D> where
    S::Timestamp: Clone
[src]

impl<G: Scope, D: Data> Concat<G, D> for Stream<G, D>[src]

impl<G: Scope, D: Data> Concatenate<G, D> for Stream<G, D>[src]

impl<G: Scope, D: Data> ConnectLoop<G, D> for Stream<G, D>[src]

impl<G: Scope, D: Data> Delay<G, D> for Stream<G, D>[src]

impl<G: Scope, T: Timestamp + Refines<G::Timestamp>, D: Data> Enter<G, T, D> for Stream<G, D>[src]

impl<G: Scope, D: ExchangeData> Exchange<<G as ScopeParent>::Timestamp, D> for Stream<G, D>[src]

impl<G: Scope, D: Data> Filter<D> for Stream<G, D>[src]

impl<G: Scope, D: Data> Inspect<G, D> for Stream<G, D>[src]

impl<'a, G: Scope, D: Data, T: Timestamp + Refines<G::Timestamp>> Leave<G, D> for Stream<Child<'a, G, T>, D>[src]

impl<S: Scope, D: Data> Map<S, D> for Stream<S, D>[src]

impl<S: Scope, D: Data> OkErr<S, D> for Stream<S, D>[src]

impl<G: Scope, D1: Data> Operator<G, D1> for Stream<G, D1>[src]

impl<G: Scope, D: Data, D2: Data, F: Fn(D) -> (u64, D2) + 'static> Partition<G, D, D2, F> for Stream<G, D>[src]

impl<G: Scope, D: Data> Probe<G, D> for Stream<G, D>[src]

impl<S: Scope, D: Data> Reclock<S, D> for Stream<S, D>[src]

impl<S: Scope, T: Data, E: Data> ResultStream<S, T, E> for Stream<S, Result<T, E>>[src]

impl<S: Scope, K: ExchangeData + Hash + Eq, V: ExchangeData> StateMachine<S, K, V> for Stream<S, (K, V)>[src]

Auto Trait Implementations

impl<S, D> !RefUnwindSafe for Stream<S, D>

impl<S, D> !Send for Stream<S, D>

impl<S, D> !Sync for Stream<S, D>

impl<S, D> Unpin for Stream<S, D> where
    S: Unpin

impl<S, D> !UnwindSafe for Stream<S, D>

Blanket Implementations

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

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

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

impl<T> Data for T where
    T: 'static + Clone
[src]

impl<G, T, D, E> EnterAt<G, T, D> for E where
    T: Timestamp,
    D: Data,
    G: Scope,
    E: Enter<G, Product<<G as ScopeParent>::Timestamp, T>, D>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.