Function tikv::storage::txn::tests::must_acquire_pessimistic_lock_impl [−][src]
pub fn must_acquire_pessimistic_lock_impl<E: Engine>(
engine: &E,
key: &[u8],
pk: &[u8],
start_ts: impl Into<TimeStamp>,
should_not_exist: bool,
lock_ttl: u64,
for_update_ts: impl Into<TimeStamp>,
need_value: bool,
min_commit_ts: impl Into<TimeStamp>
) -> Option<Value>