pub trait AsHeaders {
type Iter: Iterator<Item = (HeaderName, HeaderValue)>;
// Required method
fn as_headers(&self) -> Self::Iter;
}
Expand description
A trait for converting a type into request headers
pub trait AsHeaders {
type Iter: Iterator<Item = (HeaderName, HeaderValue)>;
// Required method
fn as_headers(&self) -> Self::Iter;
}
A trait for converting a type into request headers