Add a from_str function that calls out to the associated method on the trait
Add from_str docs
auto merge of #8988 : cmr/rust/fromstr_fn, r=brson

It just calls out to the associated function on the trait.