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.

Object Safety§

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§