Trait ToRootSpan

Source
pub trait ToRootSpan {
    // Required method
    fn to_root_span(&self) -> Span;
}
Expand description

A trait for types that can be converted to a Span that can be used as the root of an await-tree.

Required Methods§

Source

fn to_root_span(&self) -> Span

Convert the type to a Span that can be used as the root of an await-tree.

Implementors§