tag
m12▌
2 indexed skills · max 10 per page
skills (2)
m12-lifecycle
zhanghandong/rust-skills · Productivity
Design resource creation, cleanup, and scope using RAII, lazy initialization, and pooling patterns. \n \n Covers five lifecycle patterns: RAII with Drop trait, lazy initialization via OnceLock/LazyLock, connection pooling with r2d2/deadpool, guard-based scoped access, and transaction scope boundaries \n Includes decision framework for resource cost, scope determination, and error handling during cleanup \n Provides pattern templates for RAII guards and lazy singletons, plus common errors and ant
m12-lifecycle
actionbook/rust-skills · Productivity
Layer 2: Design Choices