Module rocket::http::uncased

Expand description

Case-preserving, ASCII case-insensitive string types.

An uncased string is case-preserving. That is, the string itself contains cased characters, but comparison (including ordering, equality, and hashing) is ASCII case-insensitive. Note: the alloc feature is enabled.


  • Uncasedalloc
    An uncased (case-insensitive, case-preserving), owned or borrowed ASCII string.
  • A cost-free reference to an uncased (case-insensitive, case-preserving) ASCII string.


  • Helper trait to convert string-like references to &UncasedStr.


  • Returns true if s1 and s2 are equal without considering case.