Returns key-value pairs in the order they were added.
(&self)
| 122 | |
| 123 | /// Returns key-value pairs in the order they were added. |
| 124 | fn items(&self) -> HeaderMapItemsIter { |
| 125 | HeaderMapItemsIter { |
| 126 | inner: self.0.iter().map(|(k, v)| (k.clone(), v.clone())).collect(), |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | /// Returns the number of headers stored in the map. |
| 131 | /// |
no outgoing calls