Skip to main content

Output

Trait Output 

Source
pub trait Output {
    // Required method
    fn push(&self, change: Change, pusher: &dyn InputBase);

    // Provided method
    fn reconcile(&self, _pusher: &dyn InputBase) { ... }
}
Expand description

An operator’s output (Output in operator.ts).

Pushing is two-phase. push propagates a change; once every change of a source push has propagated, reconcile lets bounded operators (Take) refill and push the rows that refill them.

Required Methods§

Source

fn push(&self, change: Change, pusher: &dyn InputBase)

Provided Methods§

Source

fn reconcile(&self, _pusher: &dyn InputBase)

Phase two. Sinks can ignore it; operators must forward it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§