Struct TryIntoHeaderError
pub struct TryIntoHeaderError<K, V> { /* private fields */ }
Error returned if converting a value to a header fails.
Trait Implementations
impl<K, V> Display for TryIntoHeaderError<K, V>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<K, V> Error for TryIntoHeaderError<K, V>
where
K: Error + 'static,
V: Error + 'static,
fn source(&self) -> Option<&dyn Error + 'static>
impl<K, V> IntoResponse for TryIntoHeaderError<K, V>
where
K: Display,
V: Display,
fn into_response(self) -> Response
impl<K: Debug, V: Debug> Debug for TryIntoHeaderError<K, V>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl<K, V> Freeze for TryIntoHeaderError<K, V>
where
TryIntoHeaderErrorKind<K, V>: Freeze,
impl<K, V> RefUnwindSafe for TryIntoHeaderError<K, V>
where
TryIntoHeaderErrorKind<K, V>: RefUnwindSafe,
impl<K, V> Send for TryIntoHeaderError<K, V>
where
TryIntoHeaderErrorKind<K, V>: Send,
impl<K, V> Sync for TryIntoHeaderError<K, V>
where
TryIntoHeaderErrorKind<K, V>: Sync,
impl<K, V> Unpin for TryIntoHeaderError<K, V>
where
TryIntoHeaderErrorKind<K, V>: Unpin,
impl<K, V> UnsafeUnpin for TryIntoHeaderError<K, V>
where
TryIntoHeaderErrorKind<K, V>: UnsafeUnpin,
impl<K, V> UnwindSafe for TryIntoHeaderError<K, V>
where
TryIntoHeaderErrorKind<K, V>: UnwindSafe,
Blanket Implementations
impl<T> Any for TryIntoHeaderError<K, V>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for TryIntoHeaderError<K, V>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for TryIntoHeaderError<K, V>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for TryIntoHeaderError<K, V>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for TryIntoHeaderError<K, V>
impl<T> ToString for TryIntoHeaderError<K, V>
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T> WithSubscriber for TryIntoHeaderError<K, V>
impl<T, U> Into<U> for TryIntoHeaderError<K, V>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for TryIntoHeaderError<K, V>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for TryIntoHeaderError<K, V>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>