Struct NestedPathRejection

struct NestedPathRejection

Rejection type for NestedPath.

This rejection is used if the matched route wasn't nested.

Implementations

impl NestedPathRejection

fn body_text(self: &Self) -> String

Get the response body text used for this rejection.

fn status(self: &Self) -> http::StatusCode

Get the status code used for this rejection.

impl Debug for NestedPathRejection

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

impl Default for NestedPathRejection

fn default() -> Self

impl Display for NestedPathRejection

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

impl Error for NestedPathRejection

impl Freeze for NestedPathRejection

impl IntoResponse for NestedPathRejection

fn into_response(self: Self) -> $crate::response::Response

impl RefUnwindSafe for NestedPathRejection

impl Send for NestedPathRejection

impl Sync for NestedPathRejection

impl Unpin for NestedPathRejection

impl UnwindSafe for NestedPathRejection

impl<T> Any for NestedPathRejection

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for NestedPathRejection

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

impl<T> BorrowMut for NestedPathRejection

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

impl<T> From for NestedPathRejection

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for NestedPathRejection

impl<T> Same for NestedPathRejection

impl<T> ToString for NestedPathRejection

fn to_string(self: &Self) -> String

impl<T> WithSubscriber for NestedPathRejection

impl<T, U> Into for NestedPathRejection

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 NestedPathRejection

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

impl<T, U> TryInto for NestedPathRejection

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

impl<V, T> VZip for NestedPathRejection

fn vzip(self: Self) -> V