pub fn pool_endpoint<M>(pool: Pool<M>) -> PoolEndpoint<M>where
M: ManageConnection,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.