pub trait InjectBacktrace {
    type Output;

    // Required methods
    fn in_field(self, field: impl Into<String>) -> Self::Output;
    fn in_tuple(self, index: usize) -> Self::Output;
    fn in_array(self, index: usize) -> Self::Output;
}
Expand description

Allows to inject backtrace data.

Required Associated Types§

source

type Output

Output type of the injection. Should be a type that can hold a backtrace.

Required Methods§

source

fn in_field(self, field: impl Into<String>) -> Self::Output

Occurs in a field.

source

fn in_tuple(self, index: usize) -> Self::Output

Occurs in a tuple.

source

fn in_array(self, index: usize) -> Self::Output

Occurs in an array at provided index.

Object Safety§

This trait is not object safe.

Implementors§