Module rocket::http::uncased [] [src]

Contains types that encapsulate uncased ASCII strings.

An 'uncased' ASCII string is case-preserving. That is, the string itself contains cased charaters, but comparison (including ordering, equaility, and hashing) is case-insensitive.

Structs

Uncased

An uncased (case-preserving), owned or borrowed ASCII string.

UncasedStr

A reference to an uncased (case-preserving) ASCII string. This is typically created from an &str as follows:

Functions

uncased_eq

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