Struct mbus_api::context::MakeAddContext [−][src]
pub struct MakeAddContext<T, A> { /* fields omitted */ }
Implementations
impl<T, A, B, C, D> MakeAddContext<T, A> where
A: Default + Push<XSpanIdString, Result = B>,
B: Push<Option<AuthData>, Result = C>,
C: Push<Option<Authorization>, Result = D>,
[src]
impl<T, A, B, C, D> MakeAddContext<T, A> where
A: Default + Push<XSpanIdString, Result = B>,
B: Push<Option<AuthData>, Result = C>,
C: Push<Option<Authorization>, Result = D>,
[src]pub fn new(inner: T) -> MakeAddContext<T, A>
[src]
Trait Implementations
impl<Target, T, A, B, C, D> Service<Target> for MakeAddContext<T, A> where
Target: Send,
A: Default + Push<XSpanIdString, Result = B> + Send,
B: Push<Option<AuthData>, Result = C>,
C: Push<Option<Authorization>, Result = D>,
D: Send + 'static,
T: Service<Target> + Send,
T::Future: Send + 'static,
[src]
impl<Target, T, A, B, C, D> Service<Target> for MakeAddContext<T, A> where
Target: Send,
A: Default + Push<XSpanIdString, Result = B> + Send,
B: Push<Option<AuthData>, Result = C>,
C: Push<Option<Authorization>, Result = D>,
D: Send + 'static,
T: Service<Target> + Send,
T::Future: Send + 'static,
[src]Auto Trait Implementations
impl<T, A> RefUnwindSafe for MakeAddContext<T, A> where
A: RefUnwindSafe,
T: RefUnwindSafe,
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> Send for MakeAddContext<T, A> where
A: Send,
T: Send,
A: Send,
T: Send,
impl<T, A> Sync for MakeAddContext<T, A> where
A: Sync,
T: Sync,
A: Sync,
T: Sync,
impl<T, A> Unpin for MakeAddContext<T, A> where
A: Unpin,
T: Unpin,
A: Unpin,
T: Unpin,
impl<T, A> UnwindSafe for MakeAddContext<T, A> where
A: UnwindSafe,
T: UnwindSafe,
A: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, S, F, Target, ReqBody, ResBody, Error, MakeError> CompositedMakeService<Target, ReqBody, ResBody, Error, MakeError> for T where
Target: Send,
T: Service<Target, Response = S, Future = F, Error = MakeError> + Send,
S: CompositedService<ReqBody, ResBody, Error> + Send + 'static,
F: Future<Output = Result<S, MakeError>> + Send + 'static,
[src]
impl<T, S, F, Target, ReqBody, ResBody, Error, MakeError> CompositedMakeService<Target, ReqBody, ResBody, Error, MakeError> for T where
Target: Send,
T: Service<Target, Response = S, Future = F, Error = MakeError> + Send,
S: CompositedService<ReqBody, ResBody, Error> + Send + 'static,
F: Future<Output = Result<S, MakeError>> + Send + 'static,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]