Enum MatchedPathRejection
enum MatchedPathRejection
Rejection used for MatchedPath.
Variants
-
MatchedPathMissing(MatchedPathMissing)
Implementations
impl MatchedPathRejection
fn body_text(self: &Self) -> StringGet the response body text used for this rejection.
fn status(self: &Self) -> StatusCodeGet the status code used for this rejection.
impl Debug for MatchedPathRejection
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for MatchedPathRejection
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Error for MatchedPathRejection
fn source(self: &Self) -> Option<&dyn Error + 'static>
impl Freeze for MatchedPathRejection
impl From for MatchedPathRejection
fn from(inner: MatchedPathMissing) -> Self
impl IntoResponse for MatchedPathRejection
fn into_response(self: Self) -> Response
impl RefUnwindSafe for MatchedPathRejection
impl Send for MatchedPathRejection
impl Sync for MatchedPathRejection
impl Unpin for MatchedPathRejection
impl UnsafeUnpin for MatchedPathRejection
impl UnwindSafe for MatchedPathRejection
impl<T> Any for MatchedPathRejection
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MatchedPathRejection
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MatchedPathRejection
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for MatchedPathRejection
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for MatchedPathRejection
impl<T> Same for MatchedPathRejection
impl<T> ToString for MatchedPathRejection
fn to_string(self: &Self) -> String
impl<T> WithSubscriber for MatchedPathRejection
impl<T, U> Into for MatchedPathRejection
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 MatchedPathRejection
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MatchedPathRejection
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for MatchedPathRejection
fn vzip(self: Self) -> V