mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
Clarity Err
usage in IntoResponseHeaders
This commit is contained in:
parent
4f6e86f026
commit
208720be53
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue