/// Returns a `Checkout` which is a future that resolves if an idle
/// connection becomes available.
Returns a `Checkout` which is a future that resolves if an idle
connection becomes available.
Returns a ` Checkout ` which is a future that resolves if an idle connection becomes available .
pub fn checkout(&self, key: Key) -> Checkout<T> {
        Checkout {
            key,
            pool: self.clone(),
            waiter: None,
        }
    }
pub fn checkout ( & self , key : Key ) -> Checkout < T > { Checkout { key , pool : self . clone ( ) , waiter : None , } }
Returns a `Checkout` which is a future that resolves if an idle
connection becomes available.
Returns a ` Checkout ` which is a future that resolves if an idle connection becomes available .
&self
key
Key