mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-27 04:50:31 +00:00
Clarity Err
usage in IntoResponseHeaders
This commit is contained in:
parent
4f6e86f026
commit
208720be53
@ -156,6 +156,8 @@ pub trait IntoResponseHeaders {
|
||||
type IntoIter: IntoIterator<Item = Result<(Option<HeaderName>, HeaderValue), Response>>;
|
||||
|
||||
/// Attempt to turn `self` into a list of headers.
|
||||
///
|
||||
/// In practice, only the implementation for `axum::response::Headers` ever returns `Err(_)`.
|
||||
#[doc(hidden)]
|
||||
fn into_headers(self) -> Self::IntoIter;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user