Home
last modified time | relevance | path

Searched defs:NewSpan (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/tracing/tracing-mock/src/
Dspan.rs15 pub struct NewSpan { struct
16 pub(crate) span: MockSpan,
17 pub(crate) fields: field::Expect,
18 pub(crate) parent: Option<Parent>,
68 pub fn with_explicit_parent(self, parent: Option<&str>) -> NewSpan { in with_explicit_parent()
80 pub fn with_contextual_parent(self, parent: Option<&str>) -> NewSpan { in with_contextual_parent()
146 impl From<MockSpan> for NewSpan { implementation
155 impl NewSpan { implementation
156 pub fn with_explicit_parent(self, parent: Option<&str>) -> NewSpan { in with_explicit_parent()
167 pub fn with_contextual_parent(self, parent: Option<&str>) -> NewSpan { in with_contextual_parent()
[all …]
Dsubscriber.rs35 NewSpan(NewSpan), enumerator
147 I: Into<NewSpan>, in new_span()
/third_party/rust/crates/tracing/tracing-attributes/tests/
Dfields.rs150 fn run_test<F: FnOnce() -> T, T>(span: NewSpan, fun: F) { in run_test() argument
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dsupport.rs107 I: Into<NewSpan>, in new_span()