Debian Codegraph @

third_party/rust/tracing-core/src/parent.rs

raw
1 use crate::span::Id;
2
3 #[derive(Debug)]
4 pub(crate) enum Parent {
5 /// The new span will be a root span.
6 Root,
7 /// The new span will be rooted in the current span.
8 Current,
9 /// The new span has an explicitly-specified parent.
10 Explicit(Id),
11 }