Struct InvalidUtf8InPathParam

struct InvalidUtf8InPathParam { ... }

Rejection used by RawPathParams if a parameter contained text that, once percent decoded, wasn't valid UTF-8.

Implementations

impl InvalidUtf8InPathParam

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 InvalidUtf8InPathParam

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

impl Display for InvalidUtf8InPathParam

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

impl Error for InvalidUtf8InPathParam

impl Freeze for InvalidUtf8InPathParam

impl IntoResponse for InvalidUtf8InPathParam

fn into_response(self: Self) -> Response

impl RefUnwindSafe for InvalidUtf8InPathParam

impl Send for InvalidUtf8InPathParam

impl Sync for InvalidUtf8InPathParam

impl Unpin for InvalidUtf8InPathParam

impl UnwindSafe for InvalidUtf8InPathParam

impl<T> Any for InvalidUtf8InPathParam

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for InvalidUtf8InPathParam

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

impl<T> BorrowMut for InvalidUtf8InPathParam

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

impl<T> From for InvalidUtf8InPathParam

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for InvalidUtf8InPathParam

impl<T> Same for InvalidUtf8InPathParam

impl<T> ToString for InvalidUtf8InPathParam

fn to_string(self: &Self) -> String

impl<T> WithSubscriber for InvalidUtf8InPathParam

impl<T, U> Into for InvalidUtf8InPathParam

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 InvalidUtf8InPathParam

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

impl<T, U> TryInto for InvalidUtf8InPathParam

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

impl<V, T> VZip for InvalidUtf8InPathParam

fn vzip(self: Self) -> V