Trait gotham_restful::IntoResponseError
source · pub trait IntoResponseError {
type Err: Debug + Send + 'static;
// Required methods
fn into_response_error(self) -> Result<Response, Self::Err>;
fn status_codes() -> Vec<StatusCode>;
fn schema(code: StatusCode) -> OpenapiSchema;
}
Required Associated Types§
Required Methods§
fn into_response_error(self) -> Result<Response, Self::Err>
fn status_codes() -> Vec<StatusCode>
fn schema(code: StatusCode) -> OpenapiSchema
Object Safety§
This trait is not object safe.