Skip to main content

BuildAsyncExt

Trait BuildAsyncExt 

Source
pub trait BuildAsyncExt<T> {
    // Required method
    fn build_async(self) -> impl Future<Output = Result<T>> + Send;
}
Expand description

Asynchronous build extensions for DatabaseBuilder.

Required Methods§

Source

fn build_async(self) -> impl Future<Output = Result<T>> + Send

Opens the database on a blocking worker.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> BuildAsyncExt<T> for DatabaseBuilder<T>
where T: DatabaseSpec + Send + 'static,

Source§

async fn build_async(self) -> Result<T>

Opens the database on a blocking worker.

Implementors§