🛈 Note: This is pre-release documentation
for the upcoming tracing 0.2.0 ecosystem.
For the release documentation, please see docs.rs, instead.
tracing_core/
parent.rs
1use crate::span::Id;
23#[derive(Debug)]
4pub(crate) enum Parent {
5/// The new span will be a root span.
6Root,
7/// The new span will be rooted in the current span.
8Current,
9/// The new span has an explicitly-specified parent.
10Explicit(Id),
11}