[−][src]Struct opentelemetry::global::BoxedSpan
Boxed span wraps a generic trait object so that BoxedTracer
s
can return whichever type of span they were configured to use.
Trait Implementations
impl Debug for BoxedSpan
[src]
impl Span for BoxedSpan
[src]
fn add_event_with_timestamp(&mut self, message: String, timestamp: SystemTime)
[src]
Delegates to inner span.0
fn get_context(&self) -> SpanContext
[src]
Delegates to inner span.
fn is_recording(&self) -> bool
[src]
Delegates to inner span.
fn set_attribute(&mut self, attribute: KeyValue)
[src]
Delegates to inner span.
fn set_status(&mut self, status: SpanStatus)
[src]
Delegates to inner span.
fn update_name(&mut self, new_name: String)
[src]
Delegates to inner span.
fn end(&mut self)
[src]
Delegates to inner span.
fn as_any(&self) -> &dyn Any
[src]
Returns self as any
fn mark_as_active(&self)
[src]
Mark span as currently active
fn mark_as_inactive(&self)
[src]
Mark span as no longer active
fn add_event(&mut self, message: String)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BoxedSpan
impl Send for BoxedSpan
impl Sync for BoxedSpan
impl Unpin for BoxedSpan
impl !UnwindSafe for BoxedSpan
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<F> Instrument for F
[src]
ⓘImportant traits for Instrumented<F, S>fn instrument<S: Span>(self, span: S) -> Instrumented<Self, S>
[src]
ⓘImportant traits for Instrumented<F, S>
ⓘImportant traits for Instrumented<F, S>fn in_active_span<T: Tracer>(self, tracer: T) -> Instrumented<Self, T::Span>
[src]
ⓘImportant traits for Instrumented<F, S>
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,