Struct axum_core::response::TryIntoHeaderError
source · pub struct TryIntoHeaderError<K, V> { /* private fields */ }
Expand description
Error returned if converting a value to a header fails.
Trait Implementations§
source§impl<K, V> Display for TryIntoHeaderError<K, V>
impl<K, V> Display for TryIntoHeaderError<K, V>
source§impl<K, V> Error for TryIntoHeaderError<K, V>where
K: Error + 'static,
V: Error + 'static,
impl<K, V> Error for TryIntoHeaderError<K, V>where K: Error + 'static, V: Error + 'static,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<K, V> IntoResponse for TryIntoHeaderError<K, V>where
K: Display,
V: Display,
impl<K, V> IntoResponse for TryIntoHeaderError<K, V>where K: Display, V: Display,
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.