Skip to main content

ErrorStackContextMapper

Trait ErrorStackContextMapper 

Source
pub trait ErrorStackContextMapper {
    // Required method
    fn map(
        &self,
        view: ErrorStackContextView<'_>,
    ) -> Result<BridgeDiagnosticMetadata, BridgeError>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> ErrorStackContextMapper for &T

Implementors§