Crate ckb_util

source ·
Expand description

CKB utilities.

Collection of frequently used utilities.

Re-exports§

Modules§

Macros§

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

Structs§

Type Aliases§

  • 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.