pub trait ToDomainError{
// Provided methods
fn to_domain_error(self) -> DomainError { ... }
fn display(&self, f: &mut Formatter<'_>) -> Result { ... }
}
Expand description
Internally used by ExitError derive.
Provided Methods§
fn to_domain_error(self) -> DomainError
fn display(&self, f: &mut Formatter<'_>) -> Result
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.