Struct time_graph::Span[][src]

pub struct Span { /* fields omitted */ }
Expand description

A Span records a single execution of code associated with a CallSite.

This is not usually constructed manually but with either the spanned or instrument macros.

Implementations

Create a new Span associated with the given callsite.

Enter the span, the span will automatically be exited when the SpanGuard is dropped.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.