Module rocket_http::uncased[][src]

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.

UncasedStr

A cost-free reference to an uncased (case-insensitive, case-preserving) ASCII string.

Traits

AsUncased

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

Functions

eq

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