mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-18 00:00:15 +02:00
Make IntoResponseHeaders members hidden
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user