🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

tracing_mock::expect

Function has_explicit_parent

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

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