Skip to main content

ErrorStackReportExt

Trait ErrorStackReportExt 

Source
pub trait ErrorStackReportExt {
    // Required methods
    fn to_diagprint(
        &self,
        reporter: &Reporter,
    ) -> Result<ErrorStackBridgeOutput, ErrorStackBridgeError>;
    fn to_diagprint_with<M>(
        &self,
        reporter: &Reporter,
        mapper: &M,
    ) -> Result<ErrorStackBridgeOutput, ErrorStackBridgeError>
       where M: ErrorStackContextMapper + ?Sized;
    fn to_diagprint_with_policy(
        &self,
        reporter: &Reporter,
        policy: ErrorStackAttachmentPolicy,
    ) -> Result<ErrorStackBridgeOutput, ErrorStackBridgeError>;
    fn to_diagprint_with_mapper_and_policy<M>(
        &self,
        reporter: &Reporter,
        mapper: &M,
        policy: ErrorStackAttachmentPolicy,
    ) -> Result<ErrorStackBridgeOutput, ErrorStackBridgeError>
       where M: ErrorStackContextMapper + ?Sized;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<C> ErrorStackReportExt for Report<C>
where C: Error + Send + Sync + 'static,

Source§

impl<C> ErrorStackReportExt for Report<[C]>
where C: Error + Send + Sync + 'static,

Implementors§