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.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>
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.