Trait core::panic::UnwindSafe

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

表示 Rust 中 “panic safe” 类型的标记 trait。

默认情况下,此 trait 对许多类型都实现,并且在推断实现时类似于 SendSync traits。 这个 trait 的目的是编码哪些类型可以安全地越过 catch_unwind 边界,而不必担心 unwind 安全。

什么是 unwind 安全性?

在 Rust 中,如果一个函数可以 0panics 或调用一个传递 panics 的函数,则可以提前 “return”。 这种控制流并非总是可以预期的,并且有可能通过结合以下两个关键组件而导致细微的错误:

  1. 当线程 panics 时,数据结构体处于暂时无效状态。
  2. 然后,随后观察到该损坏的不变量。

通常在 Rust 中,很难执行步骤 (2),因为捕获 panic 涉及生成线程 (这反过来使得以后很难看到损坏的不,变体) 或使用此模块中的 catch_unwind 函数。

此外,即使看到一个不变量,它在 Rust 中通常也不是问题,因为没有未初始化的值 (如 C 或 C++ )。

然而,在 Rust 中,logical 不变量有可能会被破坏,这最终会导致行为 Bug。 Rust 中 unwind 安全性的另一个关键方面是,在没有 unsafe 代码的情况下,panic 不会导致内存不安全。

那是 unwind 安全性的旋风之旅,但是有关 unwind 安全性及其如何应用于 Rust 的更多信息,请参见 相关的 RFC

什么是 UnwindSafe

现在我们已经了解了 Rust 中的 unwind 安全性,了解此 trait 所代表的意义也很重要。 如上所述,见证不变量被破坏的一种方法是通过这个模块中的 catch_explode 函数,因为它允许捕获一个 panic,然后重新使用闭包的环境。

简而言之,如果类型 T 无法通过使用 catch_unwind (捕获 panic) 来轻松地见证损坏的不变量,则可以实现 UnwindSafe。 这个 trait 是自动 trait,所以它是针对多种类型自动实现的,并且它也是由结构体组成的 (例如,如果结构体的所有组件都是 unwind 安全的,则该结构体是 unwind 安全的)。

但是请注意,这不是不安全的 trait,因此该 trait 没有提供简洁的契约。 相反,它旨在作为 “speed bump” 的一部分,以警告 catch_unwind 用户,可能会目击到损坏的不变量,并且可能需要解决这些不变量。

谁实现 UnwindSafe

&mut T&RefCell<T> 之类的类型是 unwind 不安全的示例。通常的想法是,默认情况下,可以在 catch_unwind 之间共享的任何可变状态都不是 unwind 安全的。 这是因为在 catch_unwind 之外很容易看到损坏的不变量,因为数据可以像往常一样简单地访问。

但是,像 &Mutex<T> 这样的类型是 unwind 安全的,因为它们默认实现中毒。他们仍然可以目击损坏的不变量,但是他们已经提供了自己的 “speed bumps” 来做到这一点。

什么时候应使用 UnwindSafe

并非意味着大多数类型或函数都不必担心此 trait。 它仅用作 catch_unwind 函数的绑定,如上所述,缺少 unsafe 意味着它主要是建议。 AssertUnwindSafe 包装器结构体可用于强制将 trait 应用于传递给 catch_unwind 的任何封闭变量。

Implementors§

Auto implementors§

§

impl UnwindSafe for AsciiChar

§

impl UnwindSafe for core::cmp::Ordering

§

impl UnwindSafe for Infallible

§

impl UnwindSafe for c_void

§

impl UnwindSafe for core::fmt::Alignment

§

impl UnwindSafe for IpAddr

§

impl UnwindSafe for Ipv6MulticastScope

§

impl UnwindSafe for SocketAddr

§

impl UnwindSafe for FpCategory

§

impl UnwindSafe for IntErrorKind

§

impl UnwindSafe for Which

§

impl UnwindSafe for SearchStep

§

impl UnwindSafe for core::sync::atomic::Ordering

§

impl UnwindSafe for bool

§

impl UnwindSafe for char

§

impl UnwindSafe for f32

§

impl UnwindSafe for f64

§

impl UnwindSafe for i8

§

impl UnwindSafe for i16

§

impl UnwindSafe for i32

§

impl UnwindSafe for i64

§

impl UnwindSafe for i128

§

impl UnwindSafe for isize

§

impl UnwindSafe for str

§

impl UnwindSafe for u8

§

impl UnwindSafe for u16

§

impl UnwindSafe for u32

§

impl UnwindSafe for u64

§

impl UnwindSafe for u128

§

impl UnwindSafe for ()

§

impl UnwindSafe for usize

§

impl UnwindSafe for AllocError

§

impl UnwindSafe for Layout

§

impl UnwindSafe for LayoutError

§

impl UnwindSafe for TypeId

§

impl UnwindSafe for float64x1_t

§

impl UnwindSafe for float64x1x2_t

§

impl UnwindSafe for float64x1x3_t

§

impl UnwindSafe for float64x1x4_t

§

impl UnwindSafe for float64x2_t

§

impl UnwindSafe for float64x2x2_t

§

impl UnwindSafe for float64x2x3_t

§

impl UnwindSafe for float64x2x4_t

§

impl UnwindSafe for int16x2_t

§

impl UnwindSafe for uint16x2_t

§

impl UnwindSafe for APSR

§

impl UnwindSafe for SY

§

impl UnwindSafe for float32x2_t

§

impl UnwindSafe for float32x2x2_t

§

impl UnwindSafe for float32x2x3_t

§

impl UnwindSafe for float32x2x4_t

§

impl UnwindSafe for float32x4_t

§

impl UnwindSafe for float32x4x2_t

§

impl UnwindSafe for float32x4x3_t

§

impl UnwindSafe for float32x4x4_t

§

impl UnwindSafe for int8x4_t

§

impl UnwindSafe for int8x8_t

§

impl UnwindSafe for int8x8x2_t

§

impl UnwindSafe for int8x8x3_t

§

impl UnwindSafe for int8x8x4_t

§

impl UnwindSafe for int8x16_t

§

impl UnwindSafe for int8x16x2_t

§

impl UnwindSafe for int8x16x3_t

§

impl UnwindSafe for int8x16x4_t

§

impl UnwindSafe for int16x4_t

§

impl UnwindSafe for int16x4x2_t

§

impl UnwindSafe for int16x4x3_t

§

impl UnwindSafe for int16x4x4_t

§

impl UnwindSafe for int16x8_t

§

impl UnwindSafe for int16x8x2_t

§

impl UnwindSafe for int16x8x3_t

§

impl UnwindSafe for int16x8x4_t

§

impl UnwindSafe for int32x2_t

§

impl UnwindSafe for int32x2x2_t

§

impl UnwindSafe for int32x2x3_t

§

impl UnwindSafe for int32x2x4_t

§

impl UnwindSafe for int32x4_t

§

impl UnwindSafe for int32x4x2_t

§

impl UnwindSafe for int32x4x3_t

§

impl UnwindSafe for int32x4x4_t

§

impl UnwindSafe for int64x1_t

§

impl UnwindSafe for int64x1x2_t

§

impl UnwindSafe for int64x1x3_t

§

impl UnwindSafe for int64x1x4_t

§

impl UnwindSafe for int64x2_t

§

impl UnwindSafe for int64x2x2_t

§

impl UnwindSafe for int64x2x3_t

§

impl UnwindSafe for int64x2x4_t

§

impl UnwindSafe for poly8x8_t

§

impl UnwindSafe for poly8x8x2_t

§

impl UnwindSafe for poly8x8x3_t

§

impl UnwindSafe for poly8x8x4_t

§

impl UnwindSafe for poly8x16_t

§

impl UnwindSafe for poly8x16x2_t

§

impl UnwindSafe for poly8x16x3_t

§

impl UnwindSafe for poly8x16x4_t

§

impl UnwindSafe for poly16x4_t

§

impl UnwindSafe for poly16x4x2_t

§

impl UnwindSafe for poly16x4x3_t

§

impl UnwindSafe for poly16x4x4_t

§

impl UnwindSafe for poly16x8_t

§

impl UnwindSafe for poly16x8x2_t

§

impl UnwindSafe for poly16x8x3_t

§

impl UnwindSafe for poly16x8x4_t

§

impl UnwindSafe for poly64x1_t

§

impl UnwindSafe for poly64x1x2_t

§

impl UnwindSafe for poly64x1x3_t

§

impl UnwindSafe for poly64x1x4_t

§

impl UnwindSafe for poly64x2_t

§

impl UnwindSafe for poly64x2x2_t

§

impl UnwindSafe for poly64x2x3_t

§

impl UnwindSafe for poly64x2x4_t

§

impl UnwindSafe for uint8x4_t

§

impl UnwindSafe for uint8x8_t

§

impl UnwindSafe for uint8x8x2_t

§

impl UnwindSafe for uint8x8x3_t

§

impl UnwindSafe for uint8x8x4_t

§

impl UnwindSafe for uint8x16_t

§

impl UnwindSafe for uint8x16x2_t

§

impl UnwindSafe for uint8x16x3_t

§

impl UnwindSafe for uint8x16x4_t

§

impl UnwindSafe for uint16x4_t

§

impl UnwindSafe for uint16x4x2_t

§

impl UnwindSafe for uint16x4x3_t

§

impl UnwindSafe for uint16x4x4_t

§

impl UnwindSafe for uint16x8_t

§

impl UnwindSafe for uint16x8x2_t

§

impl UnwindSafe for uint16x8x3_t

§

impl UnwindSafe for uint16x8x4_t

§

impl UnwindSafe for uint32x2_t

§

impl UnwindSafe for uint32x2x2_t

§

impl UnwindSafe for uint32x2x3_t

§

impl UnwindSafe for uint32x2x4_t

§

impl UnwindSafe for uint32x4_t

§

impl UnwindSafe for uint32x4x2_t

§

impl UnwindSafe for uint32x4x3_t

§

impl UnwindSafe for uint32x4x4_t

§

impl UnwindSafe for uint64x1_t

§

impl UnwindSafe for uint64x1x2_t

§

impl UnwindSafe for uint64x1x3_t

§

impl UnwindSafe for uint64x1x4_t

§

impl UnwindSafe for uint64x2_t

§

impl UnwindSafe for uint64x2x2_t

§

impl UnwindSafe for uint64x2x3_t

§

impl UnwindSafe for uint64x2x4_t

§

impl UnwindSafe for vector_bool_char

§

impl UnwindSafe for vector_bool_int

§

impl UnwindSafe for vector_bool_long

§

impl UnwindSafe for vector_bool_short

§

impl UnwindSafe for vector_double

§

impl UnwindSafe for vector_float

§

impl UnwindSafe for vector_signed_char

§

impl UnwindSafe for vector_signed_int

§

impl UnwindSafe for vector_signed_long

§

impl UnwindSafe for vector_signed_short

§

impl UnwindSafe for vector_unsigned_char

§

impl UnwindSafe for vector_unsigned_int

§

impl UnwindSafe for vector_unsigned_long

§

impl UnwindSafe for vector_unsigned_short

§

impl UnwindSafe for v128

§

impl UnwindSafe for CpuidResult

§

impl UnwindSafe for __m128

§

impl UnwindSafe for __m128bh

§

impl UnwindSafe for __m128d

§

impl UnwindSafe for __m128i

§

impl UnwindSafe for __m256

§

impl UnwindSafe for __m256bh

§

impl UnwindSafe for __m256d

§

impl UnwindSafe for __m256i

§

impl UnwindSafe for __m512

§

impl UnwindSafe for __m512bh

§

impl UnwindSafe for __m512d

§

impl UnwindSafe for __m512i

§

impl UnwindSafe for TryFromSliceError

§

impl UnwindSafe for core::ascii::EscapeDefault

§

impl UnwindSafe for BorrowError

§

impl UnwindSafe for BorrowMutError

§

impl UnwindSafe for CharTryFromError

§

impl UnwindSafe for DecodeUtf16Error

§

impl UnwindSafe for core::char::EscapeDebug

§

impl UnwindSafe for core::char::EscapeDefault

§

impl UnwindSafe for core::char::EscapeUnicode

§

impl UnwindSafe for ParseCharError

§

impl UnwindSafe for ToLowercase

§

impl UnwindSafe for ToUppercase

§

impl UnwindSafe for TryFromCharError

§

impl UnwindSafe for CStr

§

impl UnwindSafe for FromBytesUntilNulError

§

impl UnwindSafe for FromBytesWithNulError

§

impl UnwindSafe for Error

§

impl UnwindSafe for SipHasher

§

impl UnwindSafe for BasicBlock

§

impl UnwindSafe for PhantomPinned

§

impl UnwindSafe for Assume

§

impl UnwindSafe for AddrParseError

§

impl UnwindSafe for Ipv4Addr

§

impl UnwindSafe for Ipv6Addr

§

impl UnwindSafe for SocketAddrV4

§

impl UnwindSafe for SocketAddrV6

§

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 core::ptr::Alignment

§

impl UnwindSafe for TimSortRun

§

impl UnwindSafe for ParseBoolError

§

impl UnwindSafe for Utf8Error

§

impl UnwindSafe for AtomicBool

§

impl UnwindSafe for AtomicI8

§

impl UnwindSafe for AtomicI16

§

impl UnwindSafe for AtomicI32

§

impl UnwindSafe for AtomicI64

§

impl UnwindSafe for AtomicIsize

§

impl UnwindSafe for AtomicU8

§

impl UnwindSafe for AtomicU16

§

impl UnwindSafe for AtomicU32

§

impl UnwindSafe for AtomicU64

§

impl UnwindSafe for AtomicUsize

§

impl UnwindSafe for RawWaker

§

impl UnwindSafe for RawWakerVTable

§

impl UnwindSafe for Waker

§

impl UnwindSafe for Duration

§

impl UnwindSafe for TryFromFloatSecsError

§

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

§

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

§

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 core::str::EscapeDebug<'a>

§

impl<'a> UnwindSafe for core::str::EscapeDefault<'a>

§

impl<'a> UnwindSafe for core::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 Context<'a>

§

impl<'a> UnwindSafe for Location<'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, const N: usize> UnwindSafe for CharArrayRefSearcher<'a, 'b, N>

§

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

§

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

§

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

§

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

§

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

§

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 core::str::RSplit<'a, P>where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

impl<'a, P> UnwindSafe for core::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 core::str::Split<'a, P>where <P as Pattern<'a>>::Searcher: UnwindSafe,

§

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

§

impl<'a, P> UnwindSafe for core::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 core::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 core::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 core::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 core::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, 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>where P: UnwindSafe, T: RefUnwindSafe,

§

impl<'a, T, P> UnwindSafe for core::slice::RSplit<'a, T, P>where P: UnwindSafe, T: RefUnwindSafe,

§

impl<'a, T, P> UnwindSafe for core::slice::RSplitN<'a, T, P>where P: UnwindSafe, T: RefUnwindSafe,

§

impl<'a, T, P> UnwindSafe for core::slice::Split<'a, T, P>where P: UnwindSafe, T: RefUnwindSafe,

§

impl<'a, T, P> UnwindSafe for core::slice::SplitInclusive<'a, T, P>where P: UnwindSafe, T: RefUnwindSafe,

§

impl<'a, T, P> UnwindSafe for core::slice::SplitN<'a, T, P>where P: UnwindSafe, T: RefUnwindSafe,

§

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

§

impl<'a, T, const N: usize> UnwindSafe for core::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 core::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 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 FromIter<I>where I: UnwindSafe,

§

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>where I: UnwindSafe, <<I as Iterator>::Item as IntoIterator>::IntoIter: UnwindSafe,

§

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, 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>where F: UnwindSafe, I: UnwindSafe, <U as IntoIterator>::IntoIter: UnwindSafe,

§

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

§

impl<Idx> UnwindSafe for 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<P> UnwindSafe for Pin<P>where P: UnwindSafe,

§

impl<Ret, T> UnwindSafe for fn (T₁, T₂, …, Tₙ) -> Ret

§

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

§

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

§

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

§

impl<T> UnwindSafe for [T]where T: UnwindSafe,

§

impl<T> UnwindSafe for (T₁, T₂, …, Tₙ)where T: UnwindSafe,

§

impl<T> UnwindSafe for 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 Once<T>where T: UnwindSafe,

§

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

§

impl<T> UnwindSafe for Discriminant<T>where <T as DiscriminantKind>::Discriminant: UnwindSafe,

§

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 core::result::IntoIter<T>where T: UnwindSafe,

§

impl<T> UnwindSafe for AtomicPtr<T>where T: RefUnwindSafe,

§

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

§

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, const LANES: usize> UnwindSafe for Mask<T, LANES>where T: UnwindSafe,

§

impl<T, const N: usize> UnwindSafe for [T; N]where T: UnwindSafe,

§

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

§

impl<T, const N: usize> UnwindSafe for Simd<T, N>where T: UnwindSafe,

§

impl<T, const N: usize> UnwindSafe for [MaybeUninit<T>; N]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> UnwindSafe for Exclusive<T>where T: UnwindSafe,

§

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

§

impl<const LANES: usize> UnwindSafe for LaneCount<LANES>

§

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

§

impl<const N: usize> UnwindSafe for [u8; N]