Trait gstd::prelude::panic::UnwindSafe

1.9.0 · source ·
pub auto trait UnwindSafe { }
Expand description

A marker trait which represents “panic safe” types in Rust.

This trait is implemented by default for many types and behaves similarly in terms of inference of implementation to the Send and Sync traits. The purpose of this trait is to encode what types are safe to cross a catch_unwind boundary with no fear of unwind safety.

§What is unwind safety?

In Rust a function can “return” early if it either panics or calls a function which transitively panics. This sort of control flow is not always anticipated, and has the possibility of causing subtle bugs through a combination of two critical components:

  1. A data structure is in a temporarily invalid state when the thread panics.
  2. This broken invariant is then later observed.

Typically in Rust, it is difficult to perform step (2) because catching a panic involves either spawning a thread (which in turn makes it difficult to later witness broken invariants) or using the catch_unwind function in this module. Additionally, even if an invariant is witnessed, it typically isn’t a problem in Rust because there are no uninitialized values (like in C or C++).

It is possible, however, for logical invariants to be broken in Rust, which can end up causing behavioral bugs. Another key aspect of unwind safety in Rust is that, in the absence of unsafe code, a panic cannot lead to memory unsafety.

That was a bit of a whirlwind tour of unwind safety, but for more information about unwind safety and how it applies to Rust, see an associated RFC.

§What is UnwindSafe?

Now that we’ve got an idea of what unwind safety is in Rust, it’s also important to understand what this trait represents. As mentioned above, one way to witness broken invariants is through the catch_unwind function in this module as it allows catching a panic and then re-using the environment of the closure.

Simply put, a type T implements UnwindSafe if it cannot easily allow witnessing a broken invariant through the use of catch_unwind (catching a panic). This trait is an auto trait, so it is automatically implemented for many types, and it is also structurally composed (e.g., a struct is unwind safe if all of its components are unwind safe).

Note, however, that this is not an unsafe trait, so there is not a succinct contract that this trait is providing. Instead it is intended as more of a “speed bump” to alert users of catch_unwind that broken invariants may be witnessed and may need to be accounted for.

§Who implements UnwindSafe?

Types such as &mut T and &RefCell<T> are examples which are not unwind safe. The general idea is that any mutable state which can be shared across catch_unwind is not unwind safe by default. This is because it is very easy to witness a broken invariant outside of catch_unwind as the data is simply accessed as usual.

Types like &Mutex<T>, however, are unwind safe because they implement poisoning by default. They still allow witnessing a broken invariant, but they already provide their own “speed bumps” to do so.

§When should UnwindSafe be used?

It is not intended that most types or functions need to worry about this trait. It is only used as a bound on the catch_unwind function and as mentioned above, the lack of unsafe means it is mostly an advisory. The AssertUnwindSafe wrapper struct can be used to force this trait to be implemented for any closed over variables passed to catch_unwind.

Implementors§

1.59.0 · source§

impl UnwindSafe for std::sync::once::Once

1.64.0 · source§

impl<K, V, A> UnwindSafe for BTreeMap<K, V, A>

1.36.0 · source§

impl<K, V, S> UnwindSafe for std::collections::hash::map::HashMap<K, V, S>
where K: UnwindSafe, V: UnwindSafe, S: UnwindSafe,

§

impl<K, V, S> UnwindSafe for AHashMap<K, V, S>
where K: UnwindSafe, V: UnwindSafe,

source§

impl<T> !UnwindSafe for &mut T
where T: ?Sized,

source§

impl<T> UnwindSafe for *const T
where T: RefUnwindSafe + ?Sized,

source§

impl<T> UnwindSafe for *mut T
where T: RefUnwindSafe + ?Sized,

source§

impl<T> UnwindSafe for &T
where T: RefUnwindSafe + ?Sized,

1.25.0 · source§

impl<T> UnwindSafe for NonNull<T>
where T: RefUnwindSafe + ?Sized,

source§

impl<T> UnwindSafe for std::sync::mutex::Mutex<T>
where T: ?Sized,

1.70.0 · source§

impl<T> UnwindSafe for OnceLock<T>
where T: UnwindSafe,

source§

impl<T> UnwindSafe for std::sync::rwlock::RwLock<T>
where T: ?Sized,

source§

impl<T> UnwindSafe for AssertUnwindSafe<T>

§

impl<T> UnwindSafe for OnceCell<T>
where T: UnwindSafe,

source§

impl<T, A> UnwindSafe for Rc<T, A>

source§

impl<T, A> UnwindSafe for Arc<T, A>

source§

impl<T, F> UnwindSafe for LazyLock<T, F>
where T: UnwindSafe, F: UnwindSafe,

Auto implementors§

§

impl UnwindSafe for gstd::errors::Error

§

impl UnwindSafe for ErrorReplyReason

§

impl UnwindSafe for ExecutionError

§

impl UnwindSafe for ExtError

§

impl UnwindSafe for MemoryError

§

impl UnwindSafe for MessageError

§

impl UnwindSafe for ReplyCode

§

impl UnwindSafe for ReservationError

§

impl UnwindSafe for SignalCode

§

impl UnwindSafe for SimpleExecutionError

§

impl UnwindSafe for SimpleProgramCreationError

§

impl UnwindSafe for SuccessReplyReason

§

impl UnwindSafe for UsageError

§

impl UnwindSafe for AsciiChar

§

impl UnwindSafe for Ordering

§

impl UnwindSafe for TryReserveErrorKind

§

impl UnwindSafe for gstd::prelude::collections::hashbrown::TryReserveError

§

impl UnwindSafe for Infallible

§

impl UnwindSafe for c_void

§

impl UnwindSafe for gstd::prelude::fmt::Alignment

§

impl UnwindSafe for FpCategory

§

impl UnwindSafe for IntErrorKind

§

impl UnwindSafe for SearchStep

§

impl UnwindSafe for ErrorReplyPayload

§

impl UnwindSafe for SyscallError

§

impl UnwindSafe for CreateProgramFuture

§

impl UnwindSafe for MessageFuture

§

impl UnwindSafe for MessageHandle

§

impl UnwindSafe for ProgramGenerator

§

impl UnwindSafe for ActorId

§

impl UnwindSafe for CodeId

§

impl UnwindSafe for Config

§

impl UnwindSafe for EnvVars

§

impl UnwindSafe for GasMultiplier

§

impl UnwindSafe for MessageId

§

impl UnwindSafe for Percent

§

impl UnwindSafe for Reservation

§

impl UnwindSafe for ReservationId

§

impl UnwindSafe for Reservations

§

impl UnwindSafe for MetaType

§

impl UnwindSafe for TypeId

§

impl UnwindSafe for TryFromSliceError

§

impl UnwindSafe for gstd::prelude::ascii::EscapeDefault

§

impl UnwindSafe for BorrowError

§

impl UnwindSafe for BorrowMutError

§

impl UnwindSafe for CharTryFromError

§

impl UnwindSafe for DecodeUtf16Error

§

impl UnwindSafe for gstd::prelude::char::EscapeDebug

§

impl UnwindSafe for gstd::prelude::char::EscapeDefault

§

impl UnwindSafe for gstd::prelude::char::EscapeUnicode

§

impl UnwindSafe for ParseCharError

§

impl UnwindSafe for ToLowercase

§

impl UnwindSafe for ToUppercase

§

impl UnwindSafe for TryFromCharError

§

impl UnwindSafe for gstd::prelude::collections::TryReserveError

§

impl UnwindSafe for CStr

§

impl UnwindSafe for CString

§

impl UnwindSafe for FromBytesUntilNulError

§

impl UnwindSafe for FromBytesWithNulError

§

impl UnwindSafe for FromVecWithNulError

§

impl UnwindSafe for IntoStringError

§

impl UnwindSafe for NulError

§

impl UnwindSafe for gstd::prelude::fmt::Error

§

impl UnwindSafe for SipHasher

§

impl UnwindSafe for PhantomPinned

§

impl UnwindSafe for Assume

§

impl UnwindSafe for NonZeroI8

§

impl UnwindSafe for NonZeroI16

§

impl UnwindSafe for NonZeroI32

§

impl UnwindSafe for NonZeroI64

§

impl UnwindSafe for NonZeroI128

§

impl UnwindSafe for NonZeroIsize

§

impl UnwindSafe for NonZeroU8

§

impl UnwindSafe for NonZeroU16

§

impl UnwindSafe for NonZeroU32

§

impl UnwindSafe for NonZeroU64

§

impl UnwindSafe for NonZeroU128

§

impl UnwindSafe for NonZeroUsize

§

impl UnwindSafe for ParseFloatError

§

impl UnwindSafe for ParseIntError

§

impl UnwindSafe for TryFromIntError

§

impl UnwindSafe for RangeFull

§

impl UnwindSafe for gstd::prelude::ptr::Alignment

§

impl UnwindSafe for TimSortRun

§

impl UnwindSafe for ParseBoolError

§

impl UnwindSafe for Utf8Error

§

impl UnwindSafe for FromUtf8Error

§

impl UnwindSafe for FromUtf16Error

§

impl UnwindSafe for String

§

impl UnwindSafe for RawWaker

§

impl UnwindSafe for RawWakerVTable

§

impl UnwindSafe for Waker

§

impl UnwindSafe for Duration

§

impl UnwindSafe for TryFromFloatSecsError

§

impl UnwindSafe for Big8x3

§

impl UnwindSafe for Big32x40

§

impl UnwindSafe for Decoded

§

impl UnwindSafe for FullDecoded

§

impl UnwindSafe for Number

§

impl UnwindSafe for Sign

§

impl<'a> !UnwindSafe for Arguments<'a>

§

impl<'a> !UnwindSafe for Formatter<'a>

§

impl<'a> !UnwindSafe for PanicInfo<'a>

§

impl<'a> UnwindSafe for EscapeAscii<'a>

§

impl<'a> UnwindSafe for CharSearcher<'a>

§

impl<'a> UnwindSafe for Bytes<'a>

§

impl<'a> UnwindSafe for CharIndices<'a>

§

impl<'a> UnwindSafe for Chars<'a>

§

impl<'a> UnwindSafe for EncodeUtf16<'a>

§

impl<'a> UnwindSafe for gstd::prelude::str::EscapeDebug<'a>

§

impl<'a> UnwindSafe for gstd::prelude::str::EscapeDefault<'a>

§

impl<'a> UnwindSafe for gstd::prelude::str::EscapeUnicode<'a>

§

impl<'a> UnwindSafe for Lines<'a>

§

impl<'a> UnwindSafe for LinesAny<'a>

§

impl<'a> UnwindSafe for SplitAsciiWhitespace<'a>

§

impl<'a> UnwindSafe for SplitWhitespace<'a>

§

impl<'a> UnwindSafe for Utf8Chunk<'a>

§

impl<'a> UnwindSafe for Utf8Chunks<'a>

§

impl<'a> UnwindSafe for gstd::prelude::string::Drain<'a>

§

impl<'a> UnwindSafe for Context<'a>

§

impl<'a> UnwindSafe for Location<'a>

§

impl<'a> UnwindSafe for Formatted<'a>

§

impl<'a> UnwindSafe for Part<'a>

§

impl<'a, 'b> !UnwindSafe for DebugList<'a, 'b>

§

impl<'a, 'b> !UnwindSafe for DebugMap<'a, 'b>

§

impl<'a, 'b> !UnwindSafe for DebugSet<'a, 'b>

§

impl<'a, 'b> !UnwindSafe for DebugStruct<'a, 'b>

§

impl<'a, 'b> !UnwindSafe for DebugTuple<'a, 'b>

§

impl<'a, 'b> UnwindSafe for CharSliceSearcher<'a, 'b>

§

impl<'a, 'b> UnwindSafe for StrSearcher<'a, 'b>

§

impl<'a, 'b, K, Q, V, S, A = Global> !UnwindSafe for EntryRef<'a, 'b, K, Q, V, S, A>

§

impl<'a, 'b, K, Q, V, S, A = Global> !UnwindSafe for OccupiedEntryRef<'a, 'b, K, Q, V, S, A>

§

impl<'a, 'b, K, Q, V, S, A = Global> !UnwindSafe for VacantEntryRef<'a, 'b, K, Q, V, S, A>

§

impl<'a, 'b, const N: usize> UnwindSafe for CharArrayRefSearcher<'a, 'b, N>

§

impl<'a, 'f> !UnwindSafe for VaList<'a, 'f>

§

impl<'a, A> !UnwindSafe for gstd::prelude::option::IterMut<'a, A>

§

impl<'a, A> UnwindSafe for gstd::prelude::option::Iter<'a, A>
where A: RefUnwindSafe,

§

impl<'a, B: ?Sized> UnwindSafe for Cow<'a, B>

§

impl<'a, F> UnwindSafe for CharPredicateSearcher<'a, F>
where F: UnwindSafe,

§

impl<'a, I> !UnwindSafe for ByRefSized<'a, I>

§

impl<'a, I, A> UnwindSafe for Splice<'a, I, A>

§

impl<'a, K> UnwindSafe for gstd::prelude::collections::hash_set::Iter<'a, K>
where K: RefUnwindSafe,

§

impl<'a, K, A> UnwindSafe for gstd::prelude::collections::hash_set::Drain<'a, K, A>

§

impl<'a, K, F, A = Global> !UnwindSafe for gstd::prelude::collections::hash_set::ExtractIf<'a, K, F, A>

§

impl<'a, K, V> !UnwindSafe for gstd::prelude::collections::btree_map::IterMut<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for RangeMut<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for gstd::prelude::collections::btree_map::ValuesMut<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for gstd::prelude::collections::hash_map::IterMut<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for gstd::prelude::collections::hash_map::ValuesMut<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::btree_map::Cursor<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::btree_map::Iter<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::btree_map::Keys<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::btree_map::Range<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::btree_map::Values<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::hash_map::Iter<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::hash_map::Keys<'a, K, V>

§

impl<'a, K, V> UnwindSafe for gstd::prelude::collections::hash_map::Values<'a, K, V>

§

impl<'a, K, V, A = Global> !UnwindSafe for gstd::prelude::collections::btree_map::Entry<'a, K, V, A>

§

impl<'a, K, V, A = Global> !UnwindSafe for gstd::prelude::collections::btree_map::CursorMut<'a, K, V, A>

§

impl<'a, K, V, A = Global> !UnwindSafe for gstd::prelude::collections::btree_map::OccupiedEntry<'a, K, V, A>

§

impl<'a, K, V, A = Global> !UnwindSafe for gstd::prelude::collections::btree_map::OccupiedError<'a, K, V, A>

§

impl<'a, K, V, A = Global> !UnwindSafe for gstd::prelude::collections::btree_map::VacantEntry<'a, K, V, A>

§

impl<'a, K, V, A> UnwindSafe for gstd::prelude::collections::hash_map::Drain<'a, K, V, A>

§

impl<'a, K, V, F, A = Global> !UnwindSafe for gstd::prelude::collections::btree_map::ExtractIf<'a, K, V, F, A>

§

impl<'a, K, V, F, A = Global> !UnwindSafe for gstd::prelude::collections::hash_map::ExtractIf<'a, K, V, F, A>

§

impl<'a, K, V, S = BuildHasherDefault<AHasher>, A = Global> !UnwindSafe for gstd::prelude::collections::hash_map::OccupiedEntry<'a, K, V, S, A>

§

impl<'a, K, V, S = BuildHasherDefault<AHasher>, A = Global> !UnwindSafe for gstd::prelude::collections::hash_map::VacantEntry<'a, K, V, S, A>

§

impl<'a, K, V, S, A = Global> !UnwindSafe for gstd::prelude::collections::hash_map::Entry<'a, K, V, S, A>

§

impl<'a, K, V, S, A = Global> !UnwindSafe for RawEntryMut<'a, K, V, S, A>

§

impl<'a, K, V, S, A = Global> !UnwindSafe for gstd::prelude::collections::hash_map::OccupiedError<'a, K, V, S, A>

§

impl<'a, K, V, S, A = Global> !UnwindSafe for RawEntryBuilderMut<'a, K, V, S, A>

§

impl<'a, K, V, S, A = Global> !UnwindSafe for RawOccupiedEntryMut<'a, K, V, S, A>

§

impl<'a, K, V, S, A = Global> !UnwindSafe for RawVacantEntryMut<'a, K, V, S, A>

§

impl<'a, K, V, S, A> UnwindSafe for RawEntryBuilder<'a, K, V, S, A>

§

impl<'a, P> UnwindSafe for MatchIndices<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for Matches<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for RMatchIndices<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for RMatches<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for gstd::prelude::str::RSplit<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for gstd::prelude::str::RSplitN<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for RSplitTerminator<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for gstd::prelude::str::Split<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for gstd::prelude::str::SplitInclusive<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for gstd::prelude::str::SplitN<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for SplitTerminator<'a, P>
where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, T> !UnwindSafe for MutexGuard<'a, T>

§

impl<'a, T> !UnwindSafe for MutexLockFuture<'a, T>

§

impl<'a, T> !UnwindSafe for RwLockReadFuture<'a, T>

§

impl<'a, T> !UnwindSafe for RwLockReadGuard<'a, T>

§

impl<'a, T> !UnwindSafe for RwLockWriteFuture<'a, T>

§

impl<'a, T> !UnwindSafe for RwLockWriteGuard<'a, T>

§

impl<'a, T> !UnwindSafe for gstd::prelude::collections::linked_list::IterMut<'a, T>

§

impl<'a, T> !UnwindSafe for gstd::prelude::collections::vec_deque::IterMut<'a, T>

§

impl<'a, T> !UnwindSafe for gstd::prelude::result::IterMut<'a, T>

§

impl<'a, T> !UnwindSafe for ChunksExactMut<'a, T>

§

impl<'a, T> !UnwindSafe for ChunksMut<'a, T>

§

impl<'a, T> !UnwindSafe for gstd::prelude::slice::IterMut<'a, T>

§

impl<'a, T> !UnwindSafe for RChunksExactMut<'a, T>

§

impl<'a, T> !UnwindSafe for RChunksMut<'a, T>

§

impl<'a, T> UnwindSafe for gstd::prelude::collections::binary_heap::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::collections::btree_set::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::collections::btree_set::Range<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::collections::btree_set::SymmetricDifference<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::collections::btree_set::Union<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::collections::linked_list::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::collections::vec_deque::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::result::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for Chunks<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for ChunksExact<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for gstd::prelude::slice::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for RChunks<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for RChunksExact<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for Windows<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T, A = Global> !UnwindSafe for DrainSorted<'a, T, A>

§

impl<'a, T, A = Global> !UnwindSafe for PeekMut<'a, T, A>

§

impl<'a, T, A = Global> !UnwindSafe for gstd::prelude::collections::linked_list::CursorMut<'a, T, A>

§

impl<'a, T, A> UnwindSafe for gstd::prelude::collections::binary_heap::Drain<'a, T, A>

§

impl<'a, T, A> UnwindSafe for gstd::prelude::collections::btree_set::Difference<'a, T, A>

§

impl<'a, T, A> UnwindSafe for gstd::prelude::collections::btree_set::Intersection<'a, T, A>

§

impl<'a, T, A> UnwindSafe for gstd::prelude::collections::linked_list::Cursor<'a, T, A>

§

impl<'a, T, A> UnwindSafe for gstd::prelude::collections::vec_deque::Drain<'a, T, A>

§

impl<'a, T, A> UnwindSafe for gstd::prelude::vec::Drain<'a, T, A>

§

impl<'a, T, F, A = Global> !UnwindSafe for gstd::prelude::collections::btree_set::ExtractIf<'a, T, F, A>

§

impl<'a, T, F, A = Global> !UnwindSafe for gstd::prelude::collections::linked_list::ExtractIf<'a, T, F, A>

§

impl<'a, T, F, A = Global> !UnwindSafe for gstd::prelude::vec::ExtractIf<'a, T, F, A>

§

impl<'a, T, P> !UnwindSafe for GroupByMut<'a, T, P>

§

impl<'a, T, P> !UnwindSafe for RSplitMut<'a, T, P>

§

impl<'a, T, P> !UnwindSafe for RSplitNMut<'a, T, P>

§

impl<'a, T, P> !UnwindSafe for SplitInclusiveMut<'a, T, P>

§

impl<'a, T, P> !UnwindSafe for SplitMut<'a, T, P>

§

impl<'a, T, P> !UnwindSafe for SplitNMut<'a, T, P>

§

impl<'a, T, P> UnwindSafe for GroupBy<'a, T, P>

§

impl<'a, T, P> UnwindSafe for gstd::prelude::slice::RSplit<'a, T, P>

§

impl<'a, T, P> UnwindSafe for gstd::prelude::slice::RSplitN<'a, T, P>

§

impl<'a, T, P> UnwindSafe for gstd::prelude::slice::Split<'a, T, P>

§

impl<'a, T, P> UnwindSafe for gstd::prelude::slice::SplitInclusive<'a, T, P>

§

impl<'a, T, P> UnwindSafe for gstd::prelude::slice::SplitN<'a, T, P>

§

impl<'a, T, S, A = Global> !UnwindSafe for gstd::prelude::collections::hash_set::Entry<'a, T, S, A>

§

impl<'a, T, S, A = Global> !UnwindSafe for gstd::prelude::collections::hash_set::OccupiedEntry<'a, T, S, A>

§

impl<'a, T, S, A = Global> !UnwindSafe for gstd::prelude::collections::hash_set::VacantEntry<'a, T, S, A>

§

impl<'a, T, S, A> UnwindSafe for gstd::prelude::collections::hash_set::Difference<'a, T, S, A>

§

impl<'a, T, S, A> UnwindSafe for gstd::prelude::collections::hash_set::Intersection<'a, T, S, A>

§

impl<'a, T, S, A> UnwindSafe for gstd::prelude::collections::hash_set::SymmetricDifference<'a, T, S, A>

§

impl<'a, T, S, A> UnwindSafe for gstd::prelude::collections::hash_set::Union<'a, T, S, A>

§

impl<'a, T, const N: usize> !UnwindSafe for ArrayChunksMut<'a, T, N>

§

impl<'a, T, const N: usize> UnwindSafe for gstd::prelude::slice::ArrayChunks<'a, T, N>
where T: RefUnwindSafe,

§

impl<'a, T, const N: usize> UnwindSafe for ArrayWindows<'a, T, N>
where T: RefUnwindSafe,

§

impl<'a, const N: usize> UnwindSafe for CharArraySearcher<'a, N>

§

impl<'b, T> !UnwindSafe for Ref<'b, T>

§

impl<'b, T> !UnwindSafe for RefMut<'b, T>

§

impl<'f> !UnwindSafe for VaListImpl<'f>

§

impl<A> UnwindSafe for Repeat<A>
where A: UnwindSafe,

§

impl<A> UnwindSafe for RepeatN<A>
where A: UnwindSafe,

§

impl<A> UnwindSafe for gstd::prelude::option::IntoIter<A>
where A: UnwindSafe,

§

impl<A, B> UnwindSafe for Chain<A, B>
where A: UnwindSafe, B: UnwindSafe,

§

impl<A, B> UnwindSafe for Zip<A, B>
where A: UnwindSafe, B: UnwindSafe,

§

impl<B, C> UnwindSafe for ControlFlow<B, C>
where B: UnwindSafe, C: UnwindSafe,

§

impl<Dyn> !UnwindSafe for DynMetadata<Dyn>

§

impl<F> UnwindSafe for FormatterFn<F>
where F: UnwindSafe,

§

impl<F> UnwindSafe for PollFn<F>
where F: UnwindSafe,

§

impl<F> UnwindSafe for FromFn<F>
where F: UnwindSafe,

§

impl<F> UnwindSafe for OnceWith<F>
where F: UnwindSafe,

§

impl<F> UnwindSafe for RepeatWith<F>
where F: UnwindSafe,

§

impl<H> UnwindSafe for BuildHasherDefault<H>

§

impl<I> UnwindSafe for DecodeUtf16<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for Cloned<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for Copied<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for Cycle<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for Enumerate<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for Flatten<I>

§

impl<I> UnwindSafe for Fuse<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for Intersperse<I>
where I: UnwindSafe, <I as Iterator>::Item: UnwindSafe,

§

impl<I> UnwindSafe for Peekable<I>
where I: UnwindSafe, <I as Iterator>::Item: UnwindSafe,

§

impl<I> UnwindSafe for Skip<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for StepBy<I>
where I: UnwindSafe,

§

impl<I> UnwindSafe for Take<I>
where I: UnwindSafe,

§

impl<I, F> UnwindSafe for FilterMap<I, F>
where F: UnwindSafe, I: UnwindSafe,

§

impl<I, F> UnwindSafe for Inspect<I, F>
where F: UnwindSafe, I: UnwindSafe,

§

impl<I, F> UnwindSafe for Map<I, F>
where F: UnwindSafe, I: UnwindSafe,

§

impl<I, F, const N: usize> UnwindSafe for MapWindows<I, F, N>
where F: UnwindSafe, I: UnwindSafe, <I as Iterator>::Item: UnwindSafe,

§

impl<I, G> UnwindSafe for IntersperseWith<I, G>
where G: UnwindSafe, I: UnwindSafe, <I as Iterator>::Item: UnwindSafe,

§

impl<I, P> UnwindSafe for Filter<I, P>
where I: UnwindSafe, P: UnwindSafe,

§

impl<I, P> UnwindSafe for MapWhile<I, P>
where I: UnwindSafe, P: UnwindSafe,

§

impl<I, P> UnwindSafe for SkipWhile<I, P>
where I: UnwindSafe, P: UnwindSafe,

§

impl<I, P> UnwindSafe for TakeWhile<I, P>
where I: UnwindSafe, P: UnwindSafe,

§

impl<I, St, F> UnwindSafe for Scan<I, St, F>
where F: UnwindSafe, I: UnwindSafe, St: UnwindSafe,

§

impl<I, U, F> UnwindSafe for FlatMap<I, U, F>

§

impl<I, const N: usize> UnwindSafe for gstd::prelude::iter::ArrayChunks<I, N>
where I: UnwindSafe, <I as Iterator>::Item: UnwindSafe,

§

impl<Idx> UnwindSafe for gstd::prelude::ops::Range<Idx>
where Idx: UnwindSafe,

§

impl<Idx> UnwindSafe for RangeFrom<Idx>
where Idx: UnwindSafe,

§

impl<Idx> UnwindSafe for RangeInclusive<Idx>
where Idx: UnwindSafe,

§

impl<Idx> UnwindSafe for RangeTo<Idx>
where Idx: UnwindSafe,

§

impl<Idx> UnwindSafe for RangeToInclusive<Idx>
where Idx: UnwindSafe,

§

impl<K, A> UnwindSafe for gstd::prelude::collections::hash_set::IntoIter<K, A>

§

impl<K, V, A> UnwindSafe for gstd::prelude::collections::btree_map::IntoIter<K, V, A>

§

impl<K, V, A> UnwindSafe for gstd::prelude::collections::btree_map::IntoKeys<K, V, A>

§

impl<K, V, A> UnwindSafe for gstd::prelude::collections::btree_map::IntoValues<K, V, A>

§

impl<K, V, A> UnwindSafe for gstd::prelude::collections::hash_map::IntoIter<K, V, A>

§

impl<K, V, A> UnwindSafe for gstd::prelude::collections::hash_map::IntoKeys<K, V, A>

§

impl<K, V, A> UnwindSafe for gstd::prelude::collections::hash_map::IntoValues<K, V, A>

§

impl<K, V, S, A> UnwindSafe for gstd::prelude::collections::HashMap<K, V, S, A>

§

impl<Ptr> UnwindSafe for Pin<Ptr>
where Ptr: UnwindSafe,

§

impl<T> !UnwindSafe for UniqueRc<T>

§

impl<T> UnwindSafe for Option<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Bound<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Poll<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for CodecCreateProgramFuture<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for CodecMessageFuture<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for gstd::sync::Mutex<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for gstd::sync::RwLock<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for gstd::prelude::cell::OnceCell<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Reverse<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Pending<T>

§

impl<T> UnwindSafe for Ready<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Empty<T>

§

impl<T> UnwindSafe for gstd::prelude::iter::Once<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Rev<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Discriminant<T>

§

impl<T> UnwindSafe for Saturating<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Wrapping<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for Yeet<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for gstd::prelude::result::IntoIter<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for MaybeUninit<T>
where T: UnwindSafe,

§

impl<T, A = Global> !UnwindSafe for Weak<T, A>

§

impl<T, A> UnwindSafe for gstd::prelude::collections::binary_heap::IntoIter<T, A>

§

impl<T, A> UnwindSafe for IntoIterSorted<T, A>
where A: UnwindSafe, T: UnwindSafe,

§

impl<T, A> UnwindSafe for gstd::prelude::collections::btree_set::IntoIter<T, A>

§

impl<T, A> UnwindSafe for gstd::prelude::collections::linked_list::IntoIter<T, A>

§

impl<T, A> UnwindSafe for BTreeSet<T, A>

§

impl<T, A> UnwindSafe for BinaryHeap<T, A>
where A: UnwindSafe, T: UnwindSafe,

§

impl<T, A> UnwindSafe for LinkedList<T, A>

§

impl<T, A> UnwindSafe for VecDeque<T, A>
where A: UnwindSafe, T: UnwindSafe,

§

impl<T, A> UnwindSafe for gstd::prelude::collections::vec_deque::IntoIter<T, A>
where A: UnwindSafe, T: UnwindSafe,

§

impl<T, A> UnwindSafe for Vec<T, A>
where A: UnwindSafe, T: UnwindSafe,

§

impl<T, A> UnwindSafe for gstd::prelude::vec::IntoIter<T, A>

§

impl<T, E> UnwindSafe for Result<T, E>
where E: UnwindSafe, T: UnwindSafe,

§

impl<T, F> UnwindSafe for LazyCell<T, F>
where F: UnwindSafe, T: UnwindSafe,

§

impl<T, F> UnwindSafe for Successors<T, F>
where F: UnwindSafe, T: UnwindSafe,

§

impl<T, S, A> UnwindSafe for HashSet<T, S, A>
where A: UnwindSafe, S: UnwindSafe, T: UnwindSafe,

§

impl<T, const N: usize> UnwindSafe for gstd::prelude::array::IntoIter<T, N>
where T: UnwindSafe,

§

impl<T: ?Sized> UnwindSafe for ThinBox<T>
where T: UnwindSafe,

§

impl<T: ?Sized> UnwindSafe for Cell<T>
where T: UnwindSafe,

§

impl<T: ?Sized> UnwindSafe for RefCell<T>
where T: UnwindSafe,

§

impl<T: ?Sized> UnwindSafe for SyncUnsafeCell<T>
where T: UnwindSafe,

§

impl<T: ?Sized> UnwindSafe for UnsafeCell<T>
where T: UnwindSafe,

§

impl<T: ?Sized> UnwindSafe for PhantomData<T>
where T: UnwindSafe,

§

impl<T: ?Sized> UnwindSafe for ManuallyDrop<T>
where T: UnwindSafe,

§

impl<T: ?Sized, A> UnwindSafe for Box<T, A>
where A: UnwindSafe, T: UnwindSafe,

§

impl<Y, R> UnwindSafe for CoroutineState<Y, R>
where R: UnwindSafe, Y: UnwindSafe,

§

impl<const N: usize> UnwindSafe for GetManyMutError<N>