Struct InvalidUtf8InPathParam
pub struct InvalidUtf8InPathParam { /* private fields */ }
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) -> 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 InvalidUtf8InPathParam
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for InvalidUtf8InPathParam
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for InvalidUtf8InPathParam
impl IntoResponse for InvalidUtf8InPathParam
fn into_response(self) -> Response
Auto Trait Implementations
impl Freeze for InvalidUtf8InPathParam
impl RefUnwindSafe for InvalidUtf8InPathParam
impl Send for InvalidUtf8InPathParam
impl Sync for InvalidUtf8InPathParam
impl Unpin for InvalidUtf8InPathParam
impl UnsafeUnpin for InvalidUtf8InPathParam
impl UnwindSafe for InvalidUtf8InPathParam
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for InvalidUtf8InPathParam
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for InvalidUtf8InPathParam
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for InvalidUtf8InPathParam
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for InvalidUtf8InPathParam
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for InvalidUtf8InPathParam
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for InvalidUtf8InPathParam
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for InvalidUtf8InPathParam
impl<T> Read<Exclusive, BecauseExclusive> for InvalidUtf8InPathParam
where
T: ?Sized,
impl<T> Same for InvalidUtf8InPathParam
type Output = T;
impl<T> ToString for InvalidUtf8InPathParam
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T> WithSubscriber for InvalidUtf8InPathParam
impl<T, U> Into<U> for InvalidUtf8InPathParam
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 InvalidUtf8InPathParam
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for InvalidUtf8InPathParam
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 InvalidUtf8InPathParam
where
V: MultiLane<T>,
fn vzip(self) -> V