pub trait RunSink {
// Required method
fn commit(&mut self, outcome: RunOutcome) -> Result<()>;
// Provided method
fn finished(&mut self, _outcome: &RunOutcome) { ... }
}Expand description
Receiver of the outcomes of a batch.
Required Methods§
Provided Methods§
Sourcefn finished(&mut self, _outcome: &RunOutcome)
fn finished(&mut self, _outcome: &RunOutcome)
Sees a run as it finishes, before Self::commit receives it. Runs arrive on the calling thread in the order
they finish.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".