Trait ResponseForPanic
pub trait ResponseForPanic: Clone {
// Required method
fn response_for_panic(&self, err: Box<dyn Any + Send>) -> Response<Body>;
}
Expand description
Trait for creating responses from panics.
Required Methods§
Object Safety§
This trait is not object safe.