scopeguard
crates.io v1.2.08,723,053 weekly downloads · 0 依存数
出典データ取得時点:
概要
A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros defer!, deferonunwind!, deferonsuccess! as shorthands for guards with one of the implemented strategies.
インストール
cargo add scopeguard
- エコシステムcrates.io
- バージョン1.2.0
- 週間DL数8,723,053
- ライセンス—
- 依存数0
- 最終リリース2023-07-17
- 初回公開2015-04-30
レジストリの値
公式レジストリの値を、各値ごとに出典を明記してそのまま再掲しています。
説明
A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros defer!, deferonunwind!, deferonsuccess! as shorthands for guards with one of the implemented strategies.
レジストリ提供の説明をプレーンテキストに整形したものです。出典: crates.io (Rust)。
元の説明文(未整形)を表示
A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as shorthands for guards with one of the implemented strategies.
派生指標(算出方法を公開)
以下のレジストリの値からQuantetaが算出した指数です。測定値ではなく派生指標です。算出式は「データと出典」ページに掲載しています。
Q-Vitality Quanteta
52.7 / 100
メンテナンス活発度の指数(リリース頻度+DL水準)。
Q-Trust Quanteta
25.9 / 100
普及・安定度の指数(コミュニティ規模+DL安定性+経過年数)。
Q-Risk Quanteta
49.7 / 100
依存表面の指数。高いほどリスク要因が多い。