Trait sqlx::Acquire [−][src]
pub trait Acquire<'c> { type Database: Database; type Connection: Deref + DerefMut + Send; fn acquire(
self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection, Error>> + Send + 'c, Global>>; fn begin(
self
) -> Pin<Box<dyn Future<Output = Result<Transaction<'c, Self::Database>, Error>> + Send + 'c, Global>>; }