Enum RawPathParamsRejection
enum RawPathParamsRejection
Rejection used for RawPathParams.
Contains one variant for each way the RawPathParams extractor
can fail.
Variants
-
InvalidUtf8InPathParam(InvalidUtf8InPathParam) -
MissingPathParams(MissingPathParams)
Implementations
impl RawPathParamsRejection
fn body_text(self: &Self) -> StringGet the response body text used for this rejection.
fn status(self: &Self) -> http::StatusCodeGet the status code used for this rejection.
impl Debug for RawPathParamsRejection
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for RawPathParamsRejection
fn fmt(self: &Self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
impl Error for RawPathParamsRejection
fn source(self: &Self) -> Option<&dyn std::error::Error + 'static>
impl Freeze for RawPathParamsRejection
impl From for RawPathParamsRejection
fn from(inner: MissingPathParams) -> Self
impl From for RawPathParamsRejection
fn from(inner: InvalidUtf8InPathParam) -> Self
impl IntoResponse for RawPathParamsRejection
fn into_response(self: Self) -> $crate::response::Response
impl RefUnwindSafe for RawPathParamsRejection
impl Send for RawPathParamsRejection
impl Sync for RawPathParamsRejection
impl Unpin for RawPathParamsRejection
impl UnwindSafe for RawPathParamsRejection
impl<T> Any for RawPathParamsRejection
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for RawPathParamsRejection
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for RawPathParamsRejection
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for RawPathParamsRejection
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for RawPathParamsRejection
impl<T> Same for RawPathParamsRejection
impl<T> ToString for RawPathParamsRejection
fn to_string(self: &Self) -> String
impl<T> WithSubscriber for RawPathParamsRejection
impl<T, U> Into for RawPathParamsRejection
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for RawPathParamsRejection
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for RawPathParamsRejection
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for RawPathParamsRejection
fn vzip(self: Self) -> V