A cover goes across the top.
It closes the opening along the rails and tailgate. Expect limited height when closed, and check where it parks when open. Roll-up, folding, retractable and hinged styles move out of the way differently.
See how bed covers open