[][src]Trait bb8_tiberius::PoolExt

pub trait PoolExt {
    fn run_wrapped<'a, T, E, U, F>(
        &self,
        f: F
    ) -> Box<dyn Future<Item = T, Error = RunError<E>> + Send + 'a>
    where
        F: FnOnce(SqlConnection) -> U + Send + 'a,
        U: IntoFuture<Item = (T, SqlConnection), Error = E> + Send + 'a,
        U::Future: Send + 'a,
        E: From<Error> + Send + 'a,
        T: Send + 'a
; }

Required methods

fn run_wrapped<'a, T, E, U, F>(
    &self,
    f: F
) -> Box<dyn Future<Item = T, Error = RunError<E>> + Send + 'a> where
    F: FnOnce(SqlConnection) -> U + Send + 'a,
    U: IntoFuture<Item = (T, SqlConnection), Error = E> + Send + 'a,
    U::Future: Send + 'a,
    E: From<Error> + Send + 'a,
    T: Send + 'a, 

Loading content...

Implementations on Foreign Types

impl PoolExt for Pool<ConnectionManager>[src]

Loading content...

Implementors

Loading content...