pub struct AndThen<E, F> { /* private fields */ }
Expand description
Endpoint for the and_then
method.
Trait Implementations
sourceimpl<E, F, Fut, R, R2> Endpoint for AndThen<E, F>where
E: Endpoint<Output = R>,
F: Fn(R) -> Fut + Send + Sync,
Fut: Future<Output = Result<R2>> + Send,
R: IntoResponse,
R2: IntoResponse,
impl<E, F, Fut, R, R2> Endpoint for AndThen<E, F>where
E: Endpoint<Output = R>,
F: Fn(R) -> Fut + Send + Sync,
Fut: Future<Output = Result<R2>> + Send,
R: IntoResponse,
R2: IntoResponse,
Auto Trait Implementations
impl<E, F> RefUnwindSafe for AndThen<E, F>where
E: RefUnwindSafe,
F: RefUnwindSafe,
impl<E, F> Send for AndThen<E, F>where
E: Send,
F: Send,
impl<E, F> Sync for AndThen<E, F>where
E: Sync,
F: Sync,
impl<E, F> Unpin for AndThen<E, F>where
E: Unpin,
F: Unpin,
impl<E, F> UnwindSafe for AndThen<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