Struct ntex::ServiceCall
source · pub struct ServiceCall<'a, S, Req>where
S: Service<Req>,
Req: 'a,{ /* private fields */ }
Implementations§
source§impl<'a, S, Req> ServiceCall<'a, S, Req>where
S: Service<Req>,
Req: 'a,
impl<'a, S, Req> ServiceCall<'a, S, Req>where
S: Service<Req>,
Req: 'a,
pub fn advance_to_call(self) -> ServiceCallToCall<'a, S, Req> ⓘ
Trait Implementations§
source§impl<'a, S, Req> Future for ServiceCall<'a, S, Req>where
S: Service<Req>,
impl<'a, S, Req> Future for ServiceCall<'a, S, Req>where
S: Service<Req>,
impl<'__pin, 'a, S, Req> Unpin for ServiceCall<'a, S, Req>
Auto Trait Implementations§
impl<'a, S, Req> !RefUnwindSafe for ServiceCall<'a, S, Req>
impl<'a, S, Req> !Send for ServiceCall<'a, S, Req>
impl<'a, S, Req> !Sync for ServiceCall<'a, S, Req>
impl<'a, S, Req> !UnwindSafe for ServiceCall<'a, S, Req>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more