Searched refs:MockSpan (Results 1 – 4 of 4) sorted by relevance
/third_party/rust/crates/tracing/tracing-mock/src/ |
D | span.rs | 10 pub struct MockSpan { struct 16 pub(crate) span: MockSpan, argument 21 pub fn mock() -> MockSpan { in mock() 22 MockSpan { in mock() 27 pub fn named<I>(name: I) -> MockSpan in named() 34 impl MockSpan { impl 116 impl fmt::Debug for MockSpan { implementation 136 impl fmt::Display for MockSpan { implementation 146 impl From<MockSpan> for NewSpan { 147 fn from(span: MockSpan) -> Self { in from()
|
D | subscriber.rs | 5 span::{MockSpan, NewSpan}, 27 consequence: MockSpan, 28 cause: MockSpan, 30 Enter(MockSpan), 31 Exit(MockSpan), 32 CloneSpan(MockSpan), 33 DropSpan(MockSpan), 34 Visit(MockSpan, mock_field::Expect), 100 pub fn enter(mut self, span: MockSpan) -> Self { in enter() 105 pub fn follows_from(mut self, consequence: MockSpan, cause: MockSpan) -> Self { in follows_from() argument [all …]
|
D | event.rs | 13 in_spans: Vec<span::MockSpan>, 120 pub fn in_scope(self, spans: impl IntoIterator<Item = span::MockSpan>) -> Self { in in_scope() 127 pub fn scope_mut(&mut self) -> &mut [span::MockSpan] { in scope_mut() argument
|
/third_party/rust/crates/tracing/tracing-subscriber/tests/ |
D | support.rs | 10 span::{MockSpan, NewSpan}, 77 pub fn enter(mut self, span: MockSpan) -> Self { in enter() 87 pub fn exit(mut self, span: MockSpan) -> Self { in exit() 97 pub fn record<I>(mut self, span: MockSpan, fields: I) -> Self in record() argument 136 expected: &MockSpan, in check_span_ref() argument
|