WithTraceIdExt

Trait WithTraceIdExt 

Source
pub trait WithTraceIdExt: Future + Sized {
    // Provided method
    fn with_trace_id(
        self,
        trace_id: TraceId,
    ) -> impl Future<Output = Self::Output> { ... }
}

Provided Methods§

Source

fn with_trace_id(self, trace_id: TraceId) -> impl Future<Output = Self::Output>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<F> WithTraceIdExt for F
where F: Future + Sized,