Do we need to distinguish?
AFAIK the RAT on most Boeings, certainly the 767, drives a
hydraulic pump to keep the control surfaces working in the event of main hydraulic failure. Would that have helped in the case of electrical failure?
(On some aircraft, not sure which, the RAT does drive a generator.)