Function cassandra_cpp_sys::cass_error_result_consistency [] [src]

pub unsafe extern "C" fn cass_error_result_consistency(
    error_result: *const CassErrorResult
) -> CassConsistency

Gets consistency that triggered the error result of the following types:

  • CASS_ERROR_SERVER_READ_TIMEOUT
  • CASS_ERROR_SERVER_WRITE_TIMEOUT
  • CASS_ERROR_SERVER_READ_FAILURE
  • CASS_ERROR_SERVER_WRITE_FAILURE
  • CASS_ERROR_SERVER_UNAVAILABLE

@public @memberof CassErrorResult

@param[in] error_result @return The consistency that triggered the error for a read timeout, write timeout or an unavailable error result. Undefined for other error result types.