Expand description
Pipeline execution drivers.
SyncDriver runs the pipeline single-threaded on the calling
thread. ThreadedDriver (under std) drives the pipeline on a
background OS thread. Custom executors can implement the Driver
trait and be selected at run time via
crate::Pipeline::run_with.
The Driver trait carries the stricter Send bound (matching
ThreadedDriver). The inherent SyncDriver::run method keeps the
looser bound for callers that drive non-Send sources on the
current thread.
Structs§
- RunStats
- Statistics returned by a successful pipeline run.
- Sync
Driver - Single-threaded pipeline driver.
- Threaded
Driver std - Background-thread pipeline driver. Spawns a single OS thread that runs the pipeline; the calling thread blocks on join.
Traits§
- Driver
- Generic executor for built pipelines.