pub type SharedString = Cow<'static, str>;
An allocation-optimized string.
SharedString to attempt to get the best of both worlds: flexibility to provide a
static or dynamic (owned) string, while retaining the performance benefits of being able to
take ownership of owned strings and borrows of completely static strings.
SharedString can be converted to from either
&'static str or
String, with a method,
const_str, from constructing
&'static str in a