Function pool_endpoint

Source
pub fn pool_endpoint<M>(pool: Pool<M>) -> PoolEndpoint<M>
Expand description

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

This endpoint will block the current thread during retrieving the connection from pool.