Expand description

CKB utilities.

Collection of frequently used utilities.

Re-exports

pub use parking_lot;

Modules

Utilities for std strings.

Macros

Shrinks the map $map when it reserves more than $threshold slots for future entries.

Structs

A Condition Variable

A linked hash map.

An insertion-order iterator over a LinkedHashMap’s entries represented as an OccupiedEntry.

A HashSet that holds elements in insertion order.

Type Definitions

A mutual exclusion primitive useful for protecting shared data

An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.

A reader-writer lock

RAII structure used to release the shared read access of a lock when dropped.

RAII structure used to release the exclusive write access of a lock when dropped.