summaryrefslogtreecommitdiffstats
path: root/vendor/tracing-core/src/parent.rs
blob: cb34b376ccab6bd14ba2b1b4091cf7512218a12e (plain)
1
2
3
4
5
6
7
8
9
10
11
use crate::span::Id;

#[derive(Debug)]
pub(crate) enum Parent {
    /// The new span will be a root span.
    Root,
    /// The new span will be rooted in the current span.
    Current,
    /// The new span has an explicitly-specified parent.
    Explicit(Id),
}