pub fn result_to_response<T>(res: Result<T, Error>) -> ResponseFuturewhere
T: Serialize,Expand description
Convert Result to ResponseFuture
pub fn result_to_response<T>(res: Result<T, Error>) -> ResponseFuturewhere
T: Serialize,Convert Result to ResponseFuture