[−][src]Struct opentracing_rs::Span
Methods
impl<S> Span<S> where
S: 'static + Send + Sync,
[src]
S: 'static + Send + Sync,
pub fn new<O>(
sender: UnboundedSender<Span<S>>,
operation_name: O,
start_time: SystemTime,
tags: Vec<Tag>,
references: Vec<SpanReference<S>>,
state: S,
baggage_items: Vec<BaggageItem>
) -> Span<S> where
O: Into<String>,
[src]
sender: UnboundedSender<Span<S>>,
operation_name: O,
start_time: SystemTime,
tags: Vec<Tag>,
references: Vec<SpanReference<S>>,
state: S,
baggage_items: Vec<BaggageItem>
) -> Span<S> where
O: Into<String>,
pub fn context(&self) -> &SpanContext<S>
[src]
pub fn set_operation_name<O>(&mut self, op_name: O) where
O: Into<String>,
[src]
O: Into<String>,
pub fn operation_name(&self) -> &str
[src]
pub fn set_tag(&mut self, tag: Tag)
[src]
pub fn is_finished(&self) -> bool
[src]
pub fn finish(&mut self)
[src]
Trait Implementations
impl<S> Drop for Span<S> where
S: 'static + Send + Sync,
[src]
S: 'static + Send + Sync,
impl<S> Debug for Span<S> where
S: Debug + 'static + Sync + Send,
[src]
S: Debug + 'static + Sync + Send,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.