pub unsafe extern "C" fn mongocrypt_ctx_setopt_contention_factor(
ctx: *mut mongocrypt_ctx_t,
contention_factor: i64,
) -> bool
Expand description
Set the contention factor used for explicit encryption. The contention factor is only used for indexed Queryable Encryption.
@param[in] ctx The @ref mongocrypt_ctx_t object. @param[in] contention_factor @pre @p ctx has not been initialized. @returns A boolean indicating success. If false, an error status is set. Retrieve it with @ref mongocrypt_ctx_status.