type StaticCow<T> = Cow<'static, T>;
enum StaticCow<T> { Borrowed(&'static T), Owned(<T as ToOwned>::Owned), }
Borrowed data.
Owned data.
Note: Encountered an error during type layout; the type failed to be normalized.