result_to_response

Function result_to_response 

Source
pub fn result_to_response<T>(res: Result<T, Error>) -> ResponseFuture
where T: Serialize,
Expand description

Convert Result to ResponseFuture