Skip to main content

DowncastableError

Trait DowncastableError 

Source
pub trait DowncastableError: Error + Any { }
Expand description

This trait is automatically implemented for any type that implements both Error and Any, thus allowing that type to be propagated through ResponseError and ResponseResult as an internal server error.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§