pub fn next_link(headers: &HeaderMap) -> Option<Url>Expand description
Extract the rel="next" target from a response’s Link header(s) as an absolute Url, or
None when there is no usable next link. Pure and side-effect-free — the building block callers
can reuse directly. A relative target is not resolved here (there is no base);
LinkPaginator::next_page resolves relatives against the fetched page URL.