Home
last modified time | relevance | path

Searched refs:with_explicit_parent (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/tracing/tracing-attributes/tests/
Dparents.rs9 fn with_explicit_parent<P>(parent_span: P) in with_explicit_parent() function
25 .with_explicit_parent(None), in default_parent_test()
31 .with_explicit_parent(None), in default_parent_test()
40 .with_explicit_parent(None), in default_parent_test()
72 .with_explicit_parent(None), in explicit_parent_test()
77 .with_explicit_parent(None), in explicit_parent_test()
84 .with_explicit_parent(Some("explicit_parent")), in explicit_parent_test()
97 with_explicit_parent(&explicit_parent); in explicit_parent_test()
/third_party/rust/crates/tracing/tracing/tests/
Devent.rs333 .event(event::mock().with_explicit_parent(Some("foo"))) in explicit_child()
350 .event(event::mock().with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
351 .event(event::mock().with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
352 .event(event::mock().with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
353 .event(event::mock().with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
354 .event(event::mock().with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
Dspan.rs633 .new_span(span::mock().named("foo").with_explicit_parent(None)) in explicit_root_span_is_root()
650 .new_span(span::mock().named("bar").with_explicit_parent(None)) in explicit_root_span_is_root_regardless_of_ctx()
669 .new_span(span::mock().named("bar").with_explicit_parent(Some("foo"))) in explicit_child()
686 .new_span(span::mock().named("a").with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
687 .new_span(span::mock().named("b").with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
688 .new_span(span::mock().named("c").with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
689 .new_span(span::mock().named("d").with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
690 .new_span(span::mock().named("e").with_explicit_parent(Some("foo"))) in explicit_child_at_levels()
713 .new_span(span::mock().named("baz").with_explicit_parent(Some("foo"))) in explicit_child_regardless_of_ctx()
/third_party/rust/crates/tracing/tracing-mock/src/
Dspan.rs68 pub fn with_explicit_parent(self, parent: Option<&str>) -> NewSpan { in with_explicit_parent() method
156 pub fn with_explicit_parent(self, parent: Option<&str>) -> NewSpan { in with_explicit_parent() method
Devent.rs75 pub fn with_explicit_parent(self, parent: Option<&str>) -> MockEvent { in with_explicit_parent() method