pub struct InterceptorFut<I, F> { /* private fields */ }
Expand description
Interception service future
Trait Implementations§
Source§impl<ResBody: Default, E, I: Interceptor, F: Future<Output = Result<Response<ResBody>, E>>> Future for InterceptorFut<I, F>
impl<ResBody: Default, E, I: Interceptor, F: Future<Output = Result<Response<ResBody>, E>>> Future for InterceptorFut<I, F>
Auto Trait Implementations§
impl<I, F> !Freeze for InterceptorFut<I, F>
impl<I, F> !RefUnwindSafe for InterceptorFut<I, F>
impl<I, F> Send for InterceptorFut<I, F>
impl<I, F> Sync for InterceptorFut<I, F>
impl<I, F> Unpin for InterceptorFut<I, F>
impl<I, F> !UnwindSafe for InterceptorFut<I, F>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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,
Source§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
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request