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§
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,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".