mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-27 13:00:39 +00:00
Make IntoResponseHeaders
members hidden
This commit is contained in:
parent
2546be04f6
commit
e7051322d3
@ -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…
x
Reference in New Issue
Block a user