Function finchers_r2d2::pool_endpoint[][src]

pub fn pool_endpoint<M>(pool: Pool<M>) -> PoolEndpoint<M> where
    M: ManageConnection

Create an endpoint which acquires the connection from the specified connection pool.

This endpoint internally spawns the task for executing the blocking section, by using the Tokio's default executor.