Skip to main content

DriveBackend

Trait DriveBackend 

Source
pub trait DriveBackend {
    // Required method
    fn run(&self, op: DriveOp) -> OpFuture;
}
Expand description

Executes DriveOps. The engine’s backend runs each as the matching dayscript step on the main thread and waits, asynchronously, through the step’s retry window; the mock harness uses the same backend against the mock toolkit.

Required Methods§

Source

fn run(&self, op: DriveOp) -> OpFuture

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§