Module rocket::http::uncased

Expand description

Contains types that encapsulate uncased ASCII strings.

An ‘uncased’ ASCII string is case-preserving. That is, the string itself contains cased characters, but comparison (including ordering, equality, and hashing) is case-insensitive.

Structs§

  • An uncased (case-preserving), owned or borrowed ASCII string.
  • A reference to an uncased (case-preserving) ASCII string. This is typically created from an &str as follows:

Functions§

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