Function flame::span_of
[−]
[src]
pub fn span_of<S, F, R>(name: S, f: F) -> R where S: Into<StrCow>, F: FnOnce() -> R
Starts and ends a Span that lasts for the duration of the
function f
.