pub trait IsReject:
Debug
+ Send
+ Sync {
// Required methods
fn status(&self) -> StatusCode;
fn into_response(&self) -> Response;
}Required Methods§
fn status(&self) -> StatusCode
fn into_response(&self) -> Response
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".