pub trait Run<DriverType: Driver>: Send {
type Output: Send;
// Required method
fn run<'a>(
self,
driver: &'a DriverType,
) -> impl Future<Output = Result<Self::Output, DriverType::Error>> + Send + 'a
where Self: 'a,
DriverType: 'a;
}Expand description
Runs a DSL value against a statically selected driver.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".