pub struct AsyncMapRequestService<S, M> { /* private fields */ }
Expand description
Tower service for AsyncMapRequest
Trait Implementations§
source§impl<S: Clone, M: Clone> Clone for AsyncMapRequestService<S, M>
impl<S: Clone, M: Clone> Clone for AsyncMapRequestService<S, M>
source§fn clone(&self) -> AsyncMapRequestService<S, M>
fn clone(&self) -> AsyncMapRequestService<S, M>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<S, M> Service<Request> for AsyncMapRequestService<S, M>where
S: Service<Request, Error = SendOperationError> + Clone + Send + 'static,
M: AsyncMapRequest,
S::Future: Send + 'static,
impl<S, M> Service<Request> for AsyncMapRequestService<S, M>where S: Service<Request, Error = SendOperationError> + Clone + Send + 'static, M: AsyncMapRequest, S::Future: Send + 'static,
§type Future = Pin<Box<dyn Future<Output = Result<<S as Service<Request>>::Response, <S as Service<Request>>::Error>> + Send + 'static, Global>>
type Future = Pin<Box<dyn Future<Output = Result<<S as Service<Request>>::Response, <S as Service<Request>>::Error>> + Send + 'static, Global>>
The future response value.
Auto Trait Implementations§
impl<S, M> RefUnwindSafe for AsyncMapRequestService<S, M>where M: RefUnwindSafe, S: RefUnwindSafe,
impl<S, M> Send for AsyncMapRequestService<S, M>where M: Send, S: Send,
impl<S, M> Sync for AsyncMapRequestService<S, M>where M: Sync, S: Sync,
impl<S, M> Unpin for AsyncMapRequestService<S, M>where M: Unpin, S: Unpin,
impl<S, M> UnwindSafe for AsyncMapRequestService<S, M>where M: UnwindSafe, S: 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