Struct FailedToDeserializePathParams
pub struct FailedToDeserializePathParams(/* private field */);
Rejection type for Path if the captured routes params couldn't be deserialized
into the expected type.
Implementations
impl FailedToDeserializePathParams
fn kind(&self) -> &ErrorKindGet a reference to the underlying error kind.
fn into_kind(self) -> ErrorKindConvert this error into the underlying error kind.
fn body_text(&self) -> StringGet the response body text used for this rejection.
fn status(&self) -> StatusCodeGet the status code used for this rejection.
Trait Implementations
impl Debug for FailedToDeserializePathParams
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for FailedToDeserializePathParams
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for FailedToDeserializePathParams
impl IntoResponse for FailedToDeserializePathParams
fn into_response(self) -> Response
Auto Trait Implementations
impl Freeze for FailedToDeserializePathParams
impl RefUnwindSafe for FailedToDeserializePathParams
impl Send for FailedToDeserializePathParams
impl Sync for FailedToDeserializePathParams
impl Unpin for FailedToDeserializePathParams
impl UnsafeUnpin for FailedToDeserializePathParams
impl UnwindSafe for FailedToDeserializePathParams
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for FailedToDeserializePathParams
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for FailedToDeserializePathParams
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for FailedToDeserializePathParams
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for FailedToDeserializePathParams
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for FailedToDeserializePathParams
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for FailedToDeserializePathParams
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for FailedToDeserializePathParams
impl<T> Read<Exclusive, BecauseExclusive> for FailedToDeserializePathParams
where
T: ?Sized,
impl<T> Same for FailedToDeserializePathParams
type Output = T;
impl<T> ToString for FailedToDeserializePathParams
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T> WithSubscriber for FailedToDeserializePathParams
impl<T, U> Into<U> for FailedToDeserializePathParams
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 FailedToDeserializePathParams
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for FailedToDeserializePathParams
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip<V> for FailedToDeserializePathParams
where
V: MultiLane<T>,
fn vzip(self) -> V