pub auto trait RefUnwindSafe { }Expand description
A marker trait representing types where a shared reference is considered unwind safe.
This trait is namely not implemented by UnsafeCell, the root of all
interior mutability.
This is a “helper marker trait” used to provide impl blocks for the
UnwindSafe trait, for more information see that documentation.
Implementors§
impl RefUnwindSafe for AtomicBool
Available on
target_has_atomic_load_store=8 only.impl RefUnwindSafe for AtomicI8
Available on
target_has_atomic_load_store=8 only.impl RefUnwindSafe for AtomicI16
Available on
target_has_atomic_load_store=16 only.impl RefUnwindSafe for AtomicI32
Available on
target_has_atomic_load_store=32 only.impl RefUnwindSafe for AtomicI64
Available on
target_has_atomic_load_store=64 only.impl RefUnwindSafe for AtomicIsize
Available on
target_has_atomic_load_store=ptr only.impl RefUnwindSafe for AtomicU8
Available on
target_has_atomic_load_store=8 only.impl RefUnwindSafe for AtomicU16
Available on
target_has_atomic_load_store=16 only.impl RefUnwindSafe for AtomicU32
Available on
target_has_atomic_load_store=32 only.impl RefUnwindSafe for AtomicU64
Available on
target_has_atomic_load_store=64 only.impl RefUnwindSafe for AtomicUsize
Available on
target_has_atomic_load_store=ptr only.impl RefUnwindSafe for Stderr
impl RefUnwindSafe for StderrLock<'_>
impl RefUnwindSafe for Stdout
impl RefUnwindSafe for StdoutLock<'_>
impl RefUnwindSafe for Barrier
impl RefUnwindSafe for std::sync::once::Once
impl RefUnwindSafe for Condvar
impl RefUnwindSafe for anyhow::Error
Available on crate feature
std or non-anyhow_no_core_unwind_safe only.impl<T> !RefUnwindSafe for UnsafeCell<T>where
T: ?Sized,
impl<T> RefUnwindSafe for NonZero<T>where
T: ZeroablePrimitive + RefUnwindSafe,
impl<T> RefUnwindSafe for AtomicPtr<T>
Available on
target_has_atomic_load_store=ptr only.