pub struct After<E, F> { /* private fields */ }
Expand description
Endpoint for the after
method.
Trait Implementations
sourceimpl<E, F, Fut, T> Endpoint for After<E, F>where
E: Endpoint,
F: Fn(Result<E::Output>) -> Fut + Send + Sync,
Fut: Future<Output = Result<T>> + Send,
T: IntoResponse,
impl<E, F, Fut, T> Endpoint for After<E, F>where
E: Endpoint,
F: Fn(Result<E::Output>) -> Fut + Send + Sync,
Fut: Future<Output = Result<T>> + Send,
T: IntoResponse,
Auto Trait Implementations
impl<E, F> RefUnwindSafe for After<E, F>where
E: RefUnwindSafe,
F: RefUnwindSafe,
impl<E, F> Send for After<E, F>where
E: Send,
F: Send,
impl<E, F> Sync for After<E, F>where
E: Sync,
F: Sync,
impl<E, F> Unpin for After<E, F>where
E: Unpin,
F: Unpin,
impl<E, F> UnwindSafe for After<E, F>where
E: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more