pub unsafe extern "C" fn cass_execution_profile_set_retry_policy(
    profile: *mut CassExecProfile,
    retry_policy: *mut CassRetryPolicy
) -> CassError
Expand description

Sets the execution profile’s retry policy.

Note: Profile-based retry policy is disabled by default; cluster retry policy is used when profile does not contain a policy unless the retry policy was explicitly set on the batch/statement request.

@public @memberof CassExecProfile

@param[in] profile @param[in] retry_policy NULL will clear retry policy from execution profile @return CASS_OK if successful, otherwise an error occurred.

@see cass_cluster_set_retry_policy()