pub struct TraceProviders {
pub traces: Option<SdkTracerProvider>,
pub logs: Option<SdkLoggerProvider>,
pub metrics: Option<SdkMeterProvider>,
}Fields§
§traces: Option<SdkTracerProvider>§logs: Option<SdkLoggerProvider>§metrics: Option<SdkMeterProvider>Implementations§
Source§impl TraceProviders
impl TraceProviders
Sourcepub fn register_globally(&self)
pub fn register_globally(&self)
Calls opentelemetry::global::set_x_provider(..); for all configured providers, where applicable
Trait Implementations§
Source§impl Clone for TraceProviders
impl Clone for TraceProviders
Source§fn clone(&self) -> TraceProviders
fn clone(&self) -> TraceProviders
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraceProviders
impl Debug for TraceProviders
Source§impl Default for TraceProviders
impl Default for TraceProviders
Source§fn default() -> TraceProviders
fn default() -> TraceProviders
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceProviders
impl !RefUnwindSafe for TraceProviders
impl Send for TraceProviders
impl Sync for TraceProviders
impl Unpin for TraceProviders
impl UnsafeUnpin for TraceProviders
impl !UnwindSafe for TraceProviders
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more