Skip to main content

thread_result_to_response

Function thread_result_to_response 

Source
fn thread_result_to_response<R>(
    id: RequestId,
    result: Result<Result<R::Result>>,
) -> Result<Response, HandlerCancelledError>
where R: Request, R::Params: DeserializeOwned, R::Result: Serialize,