pub struct Apply<T, F, R, In, Out, Err>where
T: Service<Error = Err>,{ /* private fields */ }Expand description
Apply service combinator
Trait Implementations§
Source§impl<T, F, R, In, Out, Err> Service for Apply<T, F, R, In, Out, Err>
impl<T, F, R, In, Out, Err> Service for Apply<T, F, R, In, Out, Err>
Source§fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
Returns
Ready when the service is able to process requests. Read moreSource§fn call(&mut self, req: In) -> Self::Future
fn call(&mut self, req: In) -> Self::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl<T, F, R, In, Out, Err> Freeze for Apply<T, F, R, In, Out, Err>
impl<T, F, R, In, Out, Err> RefUnwindSafe for Apply<T, F, R, In, Out, Err>
impl<T, F, R, In, Out, Err> Send for Apply<T, F, R, In, Out, Err>
impl<T, F, R, In, Out, Err> Sync for Apply<T, F, R, In, Out, Err>
impl<T, F, R, In, Out, Err> Unpin for Apply<T, F, R, In, Out, Err>
impl<T, F, R, In, Out, Err> UnwindSafe for Apply<T, F, R, In, Out, Err>
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<T> IntoService<T> for Twhere
T: Service,
impl<T> IntoService<T> for Twhere
T: Service,
Source§fn into_service(self) -> T
fn into_service(self) -> T
Convert to a
Service