Struct opentelemetry_otlp::HttpConfig [−][src]
pub struct HttpConfig { pub client: Option<Box<dyn HttpClient>>, pub headers: Option<HashMap<String, String>>, }
Expand description
Configuration of the http transport
Fields
client: Option<Box<dyn HttpClient>>
Select the HTTP client
headers: Option<HashMap<String, String>>
Additional headers to send to the collector.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HttpConfig
impl Send for HttpConfig
impl Sync for HttpConfig
impl Unpin for HttpConfig
impl !UnwindSafe for HttpConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more