Struct warg_server::api::v1::Path
source · pub struct Path<T>(/* private fields */);Expand description
An extractor that wraps the path extractor of Axum.
This extractor returns an API error on rejection.
Trait Implementations§
source§impl<S, T> FromRequestParts<S> for Path<T>where
Path<T>: FromRequestParts<S>,
Error: From<<Path<T> as FromRequestParts<S>>::Rejection>,
S: Send + Sync,
impl<S, T> FromRequestParts<S> for Path<T>where Path<T>: FromRequestParts<S>, Error: From<<Path<T> as FromRequestParts<S>>::Rejection>, S: Send + Sync,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Path<T>where T: RefUnwindSafe,
impl<T> Send for Path<T>where T: Send,
impl<T> Sync for Path<T>where T: Sync,
impl<T> Unpin for Path<T>where T: Unpin,
impl<T> UnwindSafe for Path<T>where T: UnwindSafe,
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