Trait TraceableError

Source
pub trait TraceableError:
    Error
    + Send
    + Sync {
    // Required method
    fn trace_id(&self) -> String;
}
Expand description

A trait for errors that can provide a trace ID

Required Methods§

Source

fn trace_id(&self) -> String

Returns the trace ID for this error

Implementations on Foreign Types§

Source§

impl TraceableError for dyn Error + Send + Sync + 'static

Implementors§