Low libido vs erectile dysfunction

Is low libido the same as erectile dysfunction?

Edit: so if a guy can get hard but refuses to have sex with GF says he has a low libido. Does that mean he mentally does not want to have sex although he physically can?