Function to_invocation_result

Source
fn to_invocation_result<T, E>(result: Result<T, E>) -> InvocationResult<T, E>
where E: Error + 'static,