Trait mas_tower::MakeSpan

source ·
pub trait MakeSpan<R> {
    // Required method
    fn make_span(&self, request: &R) -> Span;
}
Expand description

A trait for creating a span for a request.

Required Methods§

source

fn make_span(&self, request: &R) -> Span

Implementations on Foreign Types§

source§

impl<R, M, T1> MakeSpan<R> for (M, T1)
where M: MakeSpan<R>, T1: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

source§

impl<R, M, T1, T2> MakeSpan<R> for (M, T1, T2)
where M: MakeSpan<R>, T1: EnrichSpan<R>, T2: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

source§

impl<R, M, T1, T2, T3> MakeSpan<R> for (M, T1, T2, T3)
where M: MakeSpan<R>, T1: EnrichSpan<R>, T2: EnrichSpan<R>, T3: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

source§

impl<R, M, T1, T2, T3, T4> MakeSpan<R> for (M, T1, T2, T3, T4)
where M: MakeSpan<R>, T1: EnrichSpan<R>, T2: EnrichSpan<R>, T3: EnrichSpan<R>, T4: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

source§

impl<R, M, T1, T2, T3, T4, T5> MakeSpan<R> for (M, T1, T2, T3, T4, T5)
where M: MakeSpan<R>, T1: EnrichSpan<R>, T2: EnrichSpan<R>, T3: EnrichSpan<R>, T4: EnrichSpan<R>, T5: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

source§

impl<R, M, T1, T2, T3, T4, T5, T6> MakeSpan<R> for (M, T1, T2, T3, T4, T5, T6)
where M: MakeSpan<R>, T1: EnrichSpan<R>, T2: EnrichSpan<R>, T3: EnrichSpan<R>, T4: EnrichSpan<R>, T5: EnrichSpan<R>, T6: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

source§

impl<R, M, T1, T2, T3, T4, T5, T6, T7> MakeSpan<R> for (M, T1, T2, T3, T4, T5, T6, T7)
where M: MakeSpan<R>, T1: EnrichSpan<R>, T2: EnrichSpan<R>, T3: EnrichSpan<R>, T4: EnrichSpan<R>, T5: EnrichSpan<R>, T6: EnrichSpan<R>, T7: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

source§

impl<R, M, T1, T2, T3, T4, T5, T6, T7, T8> MakeSpan<R> for (M, T1, T2, T3, T4, T5, T6, T7, T8)
where M: MakeSpan<R>, T1: EnrichSpan<R>, T2: EnrichSpan<R>, T3: EnrichSpan<R>, T4: EnrichSpan<R>, T5: EnrichSpan<R>, T6: EnrichSpan<R>, T7: EnrichSpan<R>, T8: EnrichSpan<R>,

source§

fn make_span(&self, request: &R) -> Span

Implementors§

source§

impl<R, F> MakeSpan<R> for FnWrapper<F>
where F: Fn(&R) -> Span,