Enum tracing_core::parent::Parent
source · pub(crate) enum Parent {
Root,
Current,
Explicit(Id),
}
Variants§
Root
The new span will be a root span.
Current
The new span will be rooted in the current span.
Explicit(Id)
The new span has an explicitly-specified parent.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Parent
impl Send for Parent
impl Sync for Parent
impl Unpin for Parent
impl UnwindSafe for Parent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more