pub fn record_acquire_error(pool: PoolKind, error: &Error)
Counts a failed acquisition; only a pool timeout is a pool failure.