tracing_mock::expect

Function has_contextual_parent

Source
pub fn has_contextual_parent<S: Into<ExpectedSpan>>(span: S) -> ExpectedAncestry
Expand description

Convenience function that returns ExpectedAncestry::HasContextualParent with provided name.