Trait CanBuildTestDriver

Source
pub trait CanBuildTestDriver: HasTestDriverType + HasErrorType {
    // Required method
    fn build_driver(
        &self,
    ) -> impl Future<Output = Result<Self::TestDriver, Self::Error>> + Send;
}

Required Methods§

Source

fn build_driver( &self, ) -> impl Future<Output = Result<Self::TestDriver, Self::Error>> + Send

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.

Implementors§

Source§

impl<Context> CanBuildTestDriver for Context
where Context: HasTestDriverType + HasErrorType + HasComponents, Context::Components: DriverBuilder<Context>,