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.

Structs§

  • 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.

Traits§

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

Functions§

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