pub struct LxPath<T>(pub T);Expand description
Lexe API-compliant version of axum::extract::Path.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: DeserializeOwned + Send, S: Send + Sync> FromRequestParts<S> for LxPath<T>
impl<T: DeserializeOwned + Send, S: Send + Sync> FromRequestParts<S> for LxPath<T>
impl<T: Eq + PartialEq> Eq for LxPath<T>
Auto Trait Implementations§
impl<T> Freeze for LxPath<T>where
T: Freeze,
impl<T> RefUnwindSafe for LxPath<T>where
T: RefUnwindSafe,
impl<T> Send for LxPath<T>where
T: Send,
impl<T> Sync for LxPath<T>where
T: Sync,
impl<T> Unpin for LxPath<T>where
T: Unpin,
impl<T> UnsafeUnpin for LxPath<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LxPath<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<S, T> FromRequest<S, ViaParts> for T
impl<S, T> FromRequest<S, ViaParts> for T
Source§type Rejection = <T as FromRequestParts<S>>::Rejection
type Rejection = <T as FromRequestParts<S>>::Rejection
If the extractor fails it’ll use this “rejection” type. A rejection is
a kind of error that can be converted into a response.
Source§fn from_request(
req: Request<Body>,
state: &S,
) -> impl Future<Output = Result<T, <T as FromRequest<S, ViaParts>>::Rejection>>
fn from_request( req: Request<Body>, state: &S, ) -> impl Future<Output = Result<T, <T as FromRequest<S, ViaParts>>::Rejection>>
Perform the extraction.