Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
vendor
/
tracing-core-0.1.30
/
src
/
parent.rs
blob: cb34b376ccab6bd14ba2b1b4091cf7512218a12e [
file
] [
log
] [
blame
]
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
),
}