Struct MatchedPathMissing

struct MatchedPathMissing

Rejection if no matched path could be found.

See MatchedPath for more details.

Implementations

impl MatchedPathMissing

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 MatchedPathMissing

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

impl Default for MatchedPathMissing

fn default() -> Self

impl Display for MatchedPathMissing

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

impl Error for MatchedPathMissing

impl Freeze for MatchedPathMissing

impl IntoResponse for MatchedPathMissing

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

impl RefUnwindSafe for MatchedPathMissing

impl Send for MatchedPathMissing

impl Sync for MatchedPathMissing

impl Unpin for MatchedPathMissing

impl UnwindSafe for MatchedPathMissing

impl<T> Any for MatchedPathMissing

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MatchedPathMissing

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

impl<T> BorrowMut for MatchedPathMissing

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

impl<T> From for MatchedPathMissing

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for MatchedPathMissing

impl<T> Same for MatchedPathMissing

impl<T> ToString for MatchedPathMissing

fn to_string(self: &Self) -> String

impl<T> WithSubscriber for MatchedPathMissing

impl<T, U> Into for MatchedPathMissing

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 MatchedPathMissing

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

impl<T, U> TryInto for MatchedPathMissing

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

impl<V, T> VZip for MatchedPathMissing

fn vzip(self: Self) -> V