A one-year-old terrier mix tossed into a self-compacting trash can was rescued just in time by a police officer — who days later returned to give the puppy a forever home.