Trait CaptureTrace

Source
pub trait CaptureTrace {
    type Trace;

    // Required method
    fn capture(&self) -> Self::Trace;
}
Expand description

A trait to support custom implementations of traces

Required Associated Types§

Source

type Trace

Representation for captured trace

Required Methods§

Source

fn capture(&self) -> Self::Trace

Capture trace at the current moment.

Implementors§