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>
impl<K, V> Error for TryIntoHeaderError<K, V>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.81.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>
impl<K, V> IntoResponse for TryIntoHeaderError<K, V>
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl<K, V> Freeze for TryIntoHeaderError<K, V>
impl<K, V> RefUnwindSafe for TryIntoHeaderError<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for TryIntoHeaderError<K, V>
impl<K, V> Sync for TryIntoHeaderError<K, V>
impl<K, V> Unpin for TryIntoHeaderError<K, V>
impl<K, V> UnwindSafe for TryIntoHeaderError<K, V>where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more