1 stable release
1.0.0 | Aug 6, 2024 |
---|
#1829 in Rust patterns
5KB
unwind-unsafe
This Rust crate provides zero-sized marker types which do not implement
UnwindSafe
or RefUnwindSafe
. They can be added to types to prevent the
respective auto traits from being derived.
It has no dependencies, no unsafe code, and is no_std
by default.
Documentation
See API docs on docs.rs.
License
This project is licensed under the MIT No Attribution
License. Unless you explicitly state
otherwise, any contribution intentionally submitted for inclusion in
unwind-unsafe
by you, shall be licensed as MIT No Attribution, without any
additional terms or conditions.
lib.rs
:
This crate provides zero-sized marker types which do not implement
UnwindSafe
or RefUnwindSafe
. They can be added to types to prevent
the respective auto traits from being derived.
These types can be instantiated via their Default
implementation or from
their associated constant DEFAULT
.
This crate has no dependencies, no unsafe code, and is no_std
by default.