Expand description
CKB utilities.
Collection of frequently used utilities.
Re-exports§
- pub use parking_lot;
Modules§
- strings
- Utilities for std strings.
Macros§
- shrink_to_ fit 
- Shrinks the map $mapwhen it reserves more than$thresholdslots for future entries.
Structs§
- Condvar
- A Condition Variable
- LinkedHash Map 
- A linked hash map.
- LinkedHash MapEntries 
- An insertion-order iterator over a LinkedHashMap’s entries represented as anOccupiedEntry.
- LinkedHash Set 
- A HashSet that holds elements in insertion order.
Type Aliases§
- Mutex
- A mutual exclusion primitive useful for protecting shared data
- MutexGuard 
- An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
- RwLock
- A reader-writer lock
- RwLockRead Guard 
- RAII structure used to release the shared read access of a lock when dropped.
- RwLockWrite Guard 
- RAII structure used to release the exclusive write access of a lock when dropped.