Rotation and Accretion Powered Pulsars