Struct opentelemetry::global::GlobalTracerProvider [−][src]
pub struct GlobalTracerProvider { /* fields omitted */ }
Represents the globally configured TracerProvider
instance for this
application. This allows generic tracing through the returned
BoxedTracer
instances.
Trait Implementations
impl Clone for GlobalTracerProvider
[src]
impl Clone for GlobalTracerProvider
[src]fn clone(&self) -> GlobalTracerProvider
[src]
fn clone(&self) -> GlobalTracerProvider
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for GlobalTracerProvider
[src]
impl Debug for GlobalTracerProvider
[src]impl TracerProvider for GlobalTracerProvider
[src]
impl TracerProvider for GlobalTracerProvider
[src]fn get_tracer(
&self,
name: &'static str,
version: Option<&'static str>
) -> Self::Tracer
[src]
This is supported on crate feature trace
only.
fn get_tracer(
&self,
name: &'static str,
version: Option<&'static str>
) -> Self::Tracer
[src]This is supported on crate feature
trace
only.Find or create a named tracer using the global provider.
fn force_flush(&self) -> Vec<TraceResult<()>>
[src]
This is supported on crate feature trace
only.
fn force_flush(&self) -> Vec<TraceResult<()>>
[src]This is supported on crate feature
trace
only.Force flush all remaining spans in span processors and return results.
type Tracer = BoxedTracer
type Tracer = BoxedTracer
This is supported on crate feature
trace
only.The Tracer
type that this TracerProvider
will return.
Auto Trait Implementations
impl !RefUnwindSafe for GlobalTracerProvider
impl Send for GlobalTracerProvider
impl Sync for GlobalTracerProvider
impl Unpin for GlobalTracerProvider
impl !UnwindSafe for GlobalTracerProvider
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,