pub trait ErrorResponse: IntoResponse { }Expand description
Marker for handler errors that map via IntoResponse (not error_handler).
Implement for plugin error newtypes (e.g. validation). Do not implement for Error.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".