scopeguard
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). Def
- Category
- Rust crates
cargo add scopeguard Official docs outline
docs.rsExtra Credit builds an outline of scopeguard's docs the first time your work uses it. Until then, start at the official documentation.
More in Rust crates
All 4,945-
windows_aarch64_gnullvm Import lib for Windows
-
lock_api Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
-
lazy_static A macro for declaring lazily evaluated statics in Rust.
-
anyhow Flexible concrete Error type built on std::error::Error
-
idna IDNA (Internationalizing Domain Names in Applications) and Punycode.
-
futures-core The core traits and types in for the `futures` library.
-
winnow A byte-oriented, zero-copy, parser combinators library
-
zerocopy Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.
-
toml A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits
-
slab Pre-allocated storage for a uniform data type
-
futures-task Tools for working with tasks.
-
futures-util Common utilities and extension traits for the futures-rs library.