mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-27 13:00:39 +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>>;
|
type IntoIter: IntoIterator<Item = Result<(Option<HeaderName>, HeaderValue), Response>>;
|
||||||
|
|
||||||
/// Attempt to turn `self` into a list of headers.
|
/// Attempt to turn `self` into a list of headers.
|
||||||
|
///
|
||||||
|
/// In practice, only the implementation for `axum::response::Headers` ever returns `Err(_)`.
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
fn into_headers(self) -> Self::IntoIter;
|
fn into_headers(self) -> Self::IntoIter;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user