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 HttpConfigimpl Send for HttpConfigimpl Sync for HttpConfigimpl Unpin for HttpConfigimpl !UnwindSafe for HttpConfigBlanket 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 = TShould always be Self
pub fn vzip(self) -> VAttaches 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