pub struct AsyncMapRequestService<S, M> { /* private fields */ }
Expand description
Tower service for AsyncMapRequest
Trait Implementations
sourceimpl<S: Clone, M: Clone> Clone for AsyncMapRequestService<S, M>
impl<S: Clone, M: Clone> Clone for AsyncMapRequestService<S, M>
sourcefn clone(&self) -> AsyncMapRequestService<S, M>
fn clone(&self) -> AsyncMapRequestService<S, M>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more