pub enum PathRejection {
FailedToDeserializePathParams(FailedToDeserializePathParams),
MissingPathParams(MissingPathParams),
}Available on crate feature
router only.Variants§
Trait Implementations§
Source§impl From<FailedToDeserializePathParams> for PathRejection
impl From<FailedToDeserializePathParams> for PathRejection
Source§fn from(v: FailedToDeserializePathParams) -> PathRejection
fn from(v: FailedToDeserializePathParams) -> PathRejection
Converts to this type from the input type.
Source§impl From<MissingPathParams> for PathRejection
impl From<MissingPathParams> for PathRejection
Source§fn from(v: MissingPathParams) -> PathRejection
fn from(v: MissingPathParams) -> PathRejection
Converts to this type from the input type.
Source§impl IntoResponse for PathRejection
impl IntoResponse for PathRejection
Auto Trait Implementations§
impl Freeze for PathRejection
impl RefUnwindSafe for PathRejection
impl Send for PathRejection
impl Sync for PathRejection
impl Unpin for PathRejection
impl UnwindSafe for PathRejection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more