Expand description
Container locking utilities for deadlock-free multi-container operations.
This module provides types for safely locking multiple containers in a deterministic order to prevent deadlocks when performing operations that span multiple inventories (e.g., transferring items between containers).
Structs§
- Container
Id - Unique identifier for a container based on Arc pointer address.
- Container
Lock Guard - A guard that holds locks on multiple containers in a deterministic order.
- Container
Ref - A reference to a container that can be locked.
- Locked
Container 🔒
Type Aliases§
- Shared
Container - Thread-safe reference to an erased container.