mas_http

Trait RequestBuilderExt

Source
pub trait RequestBuilderExt {
    // Required method
    fn send_traced(self) -> impl Future<Output = Result<Response, Error>> + Send;
}
Expand description

An extension trait implemented for reqwest::RequestBuilder to send a request with a tracing span, and span context propagated.

Required Methods§

Source

fn send_traced(self) -> impl Future<Output = Result<Response, Error>> + Send

Send the request with a tracing span, and span context propagated.

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.

Implementations on Foreign Types§

Source§

impl RequestBuilderExt for RequestBuilder

Source§

fn send_traced(self) -> impl Future<Output = Result<Response, Error>> + Send

Implementors§