pub async fn acquire_dynamic_key_lock(
lock: &Arc<KeyRwLock<String>>,
key: &StringKey,
) -> DynamicKeyLockGuard
Expand description
Acquires a dynamic key lock for the given key.
This function takes a reference to the dynamic key lock and a pointer to the key. It then matches the key type and acquires the appropriate lock.