pub trait Sinkable<T>{
// Required method
fn sink<S, P>(
&self,
stream: &Stream<S, ResultDiff<T>>,
pact: P,
probe: &mut ProbeHandle<T>,
context: SinkingContext,
) -> Result<Option<Stream<S, Output>>, Error>
where S: Scope<Timestamp = T>,
P: ParallelizationContract<S::Timestamp, ResultDiff<T>>;
}Expand description
An external system that wants to receive result diffs.
Required Methods§
Sourcefn sink<S, P>(
&self,
stream: &Stream<S, ResultDiff<T>>,
pact: P,
probe: &mut ProbeHandle<T>,
context: SinkingContext,
) -> Result<Option<Stream<S, Output>>, Error>
fn sink<S, P>( &self, stream: &Stream<S, ResultDiff<T>>, pact: P, probe: &mut ProbeHandle<T>, context: SinkingContext, ) -> Result<Option<Stream<S, Output>>, Error>
Creates a timely operator feeding dataflow outputs to a specialized data sink.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.