Struct ErrorResponse

struct ErrorResponse(_)

An IntoResponse-based error type

See Result for more details.

Implementations

impl Debug for ErrorResponse

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Freeze for ErrorResponse

impl RefUnwindSafe for ErrorResponse

impl Send for ErrorResponse

impl Sync for ErrorResponse

impl Unpin for ErrorResponse

impl UnwindSafe for ErrorResponse

impl<T> Any for ErrorResponse

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ErrorResponse

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ErrorResponse

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ErrorResponse

fn from(value: T) -> Self

impl<T> From for ErrorResponse

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for ErrorResponse

impl<T> WithSubscriber for ErrorResponse

impl<T, U> Into for ErrorResponse

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ErrorResponse

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ErrorResponse

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>