Struct rustracing::span::StartSpanOptions[][src]

pub struct StartSpanOptions<'a, S: 'a, T: 'a> { /* fields omitted */ }

Options for starting a span.

Methods

impl<'a, S: 'a, T: 'a> StartSpanOptions<'a, S, T> where
    S: Sampler<T>, 
[src]

Sets the start time of this span.

Sets the tag to this span.

Adds the ChildOf reference to this span.

Adds the FollowsFrom reference to this span.

Starts a new span.

Starts a new span with the explicit state.

Trait Implementations

impl<'a, S: Debug + 'a, T: Debug + 'a> Debug for StartSpanOptions<'a, S, T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, S, T> !Send for StartSpanOptions<'a, S, T>

impl<'a, S, T> !Sync for StartSpanOptions<'a, S, T>