Introduce safe from_std and matching from_adhoc

Created by  David Tolnay  on October 8, 2019
UPPVYBGC7MQBUCAAB6KW3R5KWHGASFTTXVUHEWRNP27SK3CI7UHQC
Change contents