pub trait RefUnwindSafe { }
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.
impl<T: ?Sized> !RefUnwindSafe for UnsafeCell<T>
impl<T> RefUnwindSafe for AssertUnwindSafe<T>
impl<T: ?Sized> RefUnwindSafe for Mutex<T>
impl<T: ?Sized> RefUnwindSafe for RwLock<T>
impl RefUnwindSafe for AtomicIsize
impl RefUnwindSafe for AtomicI8
impl RefUnwindSafe for AtomicI16
impl RefUnwindSafe for AtomicI32
impl RefUnwindSafe for AtomicI64
impl RefUnwindSafe for AtomicUsize
impl RefUnwindSafe for AtomicU8
impl RefUnwindSafe for AtomicU16
impl RefUnwindSafe for AtomicU32
impl RefUnwindSafe for AtomicU64
impl RefUnwindSafe for AtomicBool
impl<T> RefUnwindSafe for AtomicPtr<T>
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/panic/trait.RefUnwindSafe.html