AI & Machine Learning

M12 Lifecycle

Use when designing resource lifecycles. Keywords: RAII, Drop, resource lifecycle, connection pool, lazy initialization, connection pool design, resource cleanup patterns, cleanup, scope, OnceCell, Lazy, once_cell, OnceLock, transaction, session management, when is Drop called, cleanup on error, guard pattern, scope guard, 资源生命周期, 连接池, 惰性初始化, 资源清理, RAII 模式

Publisher / source
actionbook/rust-skills (found on skills.sh)
Upstream record
actionbook/rust-skills
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
db6f0af49dcf61dae73e343b2051dbf087a58b6621db0591612208967a1078bd