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<T> !RefUnwindSafe for UnsafeCell<T>where
T: ?Sized,
impl RefUnwindSafe for Stderr
impl RefUnwindSafe for StderrLock<'_>
impl RefUnwindSafe for Stdout
impl RefUnwindSafe for StdoutLock<'_>
impl RefUnwindSafe for Atomic<bool>
Available on
target_has_atomic_load_store=8 only.impl RefUnwindSafe for Atomic<i8>
Available on
target_has_atomic_load_store=8 only.impl RefUnwindSafe for Atomic<i16>
Available on
target_has_atomic_load_store=16 only.impl RefUnwindSafe for Atomic<i32>
Available on
target_has_atomic_load_store=32 only.impl RefUnwindSafe for Atomic<i64>
Available on
target_has_atomic_load_store=64 only.impl RefUnwindSafe for Atomic<isize>
Available on
target_has_atomic_load_store=ptr only.impl RefUnwindSafe for Atomic<u8>
Available on
target_has_atomic_load_store=8 only.impl RefUnwindSafe for Atomic<u16>
Available on
target_has_atomic_load_store=16 only.impl RefUnwindSafe for Atomic<u32>
Available on
target_has_atomic_load_store=32 only.impl RefUnwindSafe for Atomic<u64>
Available on
target_has_atomic_load_store=64 only.impl RefUnwindSafe for Atomic<usize>
Available on
target_has_atomic_load_store=ptr only.impl RefUnwindSafe for Barrier
impl RefUnwindSafe for std::sync::Condvar
impl RefUnwindSafe for std::sync::Once
impl<T> RefUnwindSafe for NonZero<T>where
T: ZeroablePrimitive + RefUnwindSafe,
impl<T> RefUnwindSafe for Atomic<*mut T>
Available on
target_has_atomic_load_store=ptr only.