Trait mysql_async_support_rt::FnWithPool[][src]

pub trait FnWithPool<'pool> {
    type Output;
    type Error: From<Error>;
    type Fut: Future<Output = (Pool, Result<Self::Output, Self::Error>)> + 'pool;
    fn call(self, pool: Pool) -> Self::Fut;
}
Expand description

Trait for an async function with a restricted lifetime scope.

Associated Types

Required methods

Runs the function

Implementors