Explicit and implicit non-convex sweeping processes in the space of absolutely continuous functions