pub enum UriKey {
Path(CompactString),
PathQuery(PathQuery),
}Expand description
A key for an Uri used in ResponseCache.
This is, for now, an opaque type in it’s API. Though, you can extract the path and query through matching.
Variants§
Path(CompactString)
Uri with only a path component.
Searching the cache with this should be avoided.
See Self::call_all.
PathQuery(PathQuery)
Uri with a path and optional query.
See PathQuery.