pub type CowHeaderName = Cow<'static, str>;Expand description
Header name type using Cow for zero-allocation on common headers.
When the header name matches a well-known header, this borrows a static string instead of allocating. Unknown headers are stored as owned Strings.
Aliased Type§
pub enum CowHeaderName {
Borrowed(&'static str),
Owned(String),
}