pub(crate) fn check_in(&self, connection: Connection) -> std::result::Result<(), Connection> {
        if let Err(request) = self.sender.send(PoolManagementRequest::CheckIn(connection)) {
            let conn = request.0.unwrap_check_in();
            return Err(conn);
        }
        Ok(())
    }
/// Check in the given connection to the pool.
/// This returns an error containing the connection if the pool has been dropped already.
Check in the given connection to the pool.
This returns an error containing the connection if the pool has been dropped already.
Check in the given connection to the pool . This returns an error containing the connection if the pool has been dropped already .
pub(crate) fn check_in(&self, connection: Connection) -> std::result::Result<(), Connection> {
        if let Err(request) = self.sender.send(PoolManagementRequest::CheckIn(connection)) {
            let conn = request.0.unwrap_check_in();
            return Err(conn);
        }
        Ok(())
    }
pub ( crate ) fn check_in ( & self , connection : Connection ) -> std :: result :: Result < ( ) , Connection > { if let Err ( request ) = self . sender . send ( PoolManagementRequest :: CheckIn ( connection ) ) { let conn = request . 0 . unwrap_check_in ( ) ; return Err ( conn ) ; } Ok ( ( ) ) }
Check in the given connection to the pool.
Check in the given connection to the pool .
&self
connection
Connection
&self
connection
Connection