pub trait ErrorStackContextMapper {
// Required method
fn map(
&self,
view: ErrorStackContextView<'_>,
) -> Result<BridgeDiagnosticMetadata, BridgeError>;
}Required Methods§
fn map( &self, view: ErrorStackContextView<'_>, ) -> Result<BridgeDiagnosticMetadata, BridgeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".