pub trait PoolItem:
Hash
+ Eq
+ Sync { }Expand description
Trait for items that can be stored and retrieved from an item pool.
Items must be:
Hash: Required for storing inHashSetto ensure uniquenessEq: Required for equality comparisonsSync: Required for safe concurrent access across threads
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.