fuel_core_services

Trait TraceErr

Source
pub trait TraceErr {
    // Required method
    fn trace_err(self, msg: &str) -> Self;
}
Expand description

Helper trait to trace errors

Required Methods§

Source

fn trace_err(self, msg: &str) -> Self

Trace an error with a message.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T, E> TraceErr for Result<T, E>
where E: Display,

Source§

fn trace_err(self, msg: &str) -> Self

Implementors§