mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 15:49:16 +01:00
Make IntoResponseHeaders
members hidden
This commit is contained in:
parent
2546be04f6
commit
e7051322d3
1 changed files with 2 additions and 0 deletions
|
@ -152,9 +152,11 @@ pub trait IntoResponseHeaders {
|
|||
///
|
||||
/// The header name is optional because [`HeaderMap`]s iterator doesn't yield it multiple times
|
||||
/// for headers that have multiple values, to avoid unnecessary copies.
|
||||
#[doc(hidden)]
|
||||
type IntoIter: IntoIterator<Item = Result<(Option<HeaderName>, HeaderValue), Response>>;
|
||||
|
||||
/// Attempt to turn `self` into a list of headers.
|
||||
#[doc(hidden)]
|
||||
fn into_headers(self) -> Self::IntoIter;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue