Skip to main content

DebugContext

Trait DebugContext 

Source
pub trait DebugContext:
    Send
    + Sync
    + Debug {
    // Required method
    fn label(&self) -> &str;
}
Expand description

A renderable diagnostic artefact that can be attached to any frame of a GeopError.

Required Methods§

Source

fn label(&self) -> &str

One-line label shown in the error chain display.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§