Cognitive performance in midlife type 2 diabetes: results from the ENBIND study