Sat, 21 Nov 2026 04:41:09 UTC Log in
RAII scope guard that will run a given closure when it goes out of scope 31.62 KB built 2026-10-21 09:35:55 GMT

Description

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.

Dependencies

7 total
Requires4
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rust-packaging >= 21
Provides3
  • rust-scopeguard+default-devel = 1.2.0-8.fc45
  • rust-scopeguard+use_std-devel = 1.2.0-8.fc45
  • rust-scopeguard-devel = 1.2.0-8.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots