`&[u8]` can be converted to `&str` (rather than String) in some cases, and vice-versa. `std::borrow::Cow` would be nice.