Trait HasTonicConfig

Source
pub trait HasTonicConfig {
    // Required method
    fn tonic_config(&mut self) -> &mut TonicConfig;
}
Available on crate feature grpc-tonic only.
Expand description

Expose interface for modifying TonicConfig fields within the exporter builders.

Required Methods§

Source

fn tonic_config(&mut self) -> &mut TonicConfig

Return a mutable reference to the export config within the exporter builders.

Implementors§

Source§

impl HasTonicConfig for LogExporterBuilder<TonicExporterBuilderSet>

Available on crate feature logs and (crate features http-proto or http-json or grpc-tonic) only.
Source§

impl HasTonicConfig for MetricExporterBuilder<TonicExporterBuilderSet>

Available on crate feature metrics and (crate features http-proto or http-json or grpc-tonic) only.
Source§

impl HasTonicConfig for SpanExporterBuilder<TonicExporterBuilderSet>

Available on crate feature trace and (crate features http-proto or http-json or grpc-tonic) only.
Source§

impl HasTonicConfig for TonicExporterBuilder

Expose interface for modifying TonicConfig fields within the TonicExporterBuilder.