Struct FailedToDeserializePathParams

struct FailedToDeserializePathParams(_)

Rejection type for Path if the captured routes params couldn't be deserialized into the expected type.

Implementations

impl FailedToDeserializePathParams

fn kind(self: &Self) -> &ErrorKind

Get a reference to the underlying error kind.

fn into_kind(self: Self) -> ErrorKind

Convert this error into the underlying error kind.

fn body_text(self: &Self) -> String

Get the response body text used for this rejection.

fn status(self: &Self) -> StatusCode

Get the status code used for this rejection.

impl Debug for FailedToDeserializePathParams

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

impl Display for FailedToDeserializePathParams

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

impl Error for FailedToDeserializePathParams

impl Freeze for FailedToDeserializePathParams

impl IntoResponse for FailedToDeserializePathParams

fn into_response(self: Self) -> Response

impl RefUnwindSafe for FailedToDeserializePathParams

impl Send for FailedToDeserializePathParams

impl Sync for FailedToDeserializePathParams

impl Unpin for FailedToDeserializePathParams

impl UnwindSafe for FailedToDeserializePathParams

impl<T> Any for FailedToDeserializePathParams

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for FailedToDeserializePathParams

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

impl<T> BorrowMut for FailedToDeserializePathParams

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

impl<T> From for FailedToDeserializePathParams

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for FailedToDeserializePathParams

impl<T> Same for FailedToDeserializePathParams

impl<T> ToString for FailedToDeserializePathParams

fn to_string(self: &Self) -> String

impl<T> WithSubscriber for FailedToDeserializePathParams

impl<T, U> Into for FailedToDeserializePathParams

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 FailedToDeserializePathParams

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

impl<T, U> TryInto for FailedToDeserializePathParams

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

impl<V, T> VZip for FailedToDeserializePathParams

fn vzip(self: Self) -> V