pub trait CowStr { // Required method fn cow_str(&self) -> Cow<'_, str>; }
Converts itself into a std::borrow::Cow<str>. It’s used to call print_with_style which requires an &str.
std::borrow::Cow<str>
print_with_style
&str