fn as_response(&self) -> Response
    where
        Self: StdError + Send + Sync + 'static,
    {
        Response::builder()
            .status(self.status())
            .body(self.to_string())
    }
/// Convert this error to a HTTP response.
Convert this error to a HTTP response.
Convert this error to a HTTP response .
fn as_response(&self) -> Response
    where
        Self: StdError + Send + Sync + 'static,
    {
        Response::builder()
            .status(self.status())
            .body(self.to_string())
    }
fn as_response ( & self ) -> Response where Self : StdError + Send + Sync + ' static , { Response :: builder ( ) . status ( self . status ( ) ) . body ( self . to_string ( ) ) }
Convert this error to a HTTP response.
Convert this error to a HTTP response .
&self