diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/tracing-core/src/parent.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/tracing-core/src/parent.rs b/vendor/tracing-core/src/parent.rs new file mode 100644 index 000000000..cb34b376c --- /dev/null +++ b/vendor/tracing-core/src/parent.rs @@ -0,0 +1,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), +} |