Skip to main content

Module headers

Module headers 

Source
Expand description

Header types

Structs§

HeaderName
The name of a http header. This can be either a KnownHeaderName or a string representation of an unknown header.
HeaderValue
A HeaderValue represents the right hand side of a single name: value pair.
HeaderValues
A collection of one or more HeaderValue, optimized for the single-value case.
Headers
Trillium’s header map type
IntoIter
An owned iterator for Headers
Iter
A borrowed iterator for Headers
OccupiedEntry
A view into an occupied entry in particular Headers for a given HeaderName.
VacantEntry
A view into a vacant entry in particular Headers for a given HeaderName.

Enums§

Entry
A view into the storage for a particular header name
KnownHeaderName
Non-exhaustive enum of well-known HTTP header names.

Constants§

SERVER_HEADER
Default Server header