Function cassandra_cpp_sys::cass_cluster_set_protocol_version
[−]
[src]
pub unsafe extern "C" fn cass_cluster_set_protocol_version(
cluster: *mut CassCluster,
protocol_version: c_int
) -> CassError
Sets the protocol version. This will automatically downgrade to the lowest supported protocol version.
Default: 4
@public @memberof CassCluster
@param[in] cluster @param[in] protocol_version @return CASS_OK if successful, otherwise an error occurred.