Trait 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.28.0 · Source§

impl<T> UnwindSafe for NonZero<T>

1.9.0 · Source§

impl<T> UnwindSafe for AssertUnwindSafe<T>

1.9.0 · Source§

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

1.9.0 · Source§

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

1.9.0 · Source§

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

1.25.0 · Source§

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

Source§

impl<T: UnwindSafe + ?Sized> UnwindSafe for Unique<T>

1.9.0 · Source§

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

Auto implementors§

§

impl UnwindSafe for AsciiChar

§

impl UnwindSafe for CharErrorKind

§

impl UnwindSafe for EscapeDebugInner

§

impl UnwindSafe for core::cmp::Ordering

§

impl UnwindSafe for Infallible

§

impl UnwindSafe for FindImm

§

impl UnwindSafe for FromBytesWithNulError

§

impl UnwindSafe for c_void

§

impl UnwindSafe for core::fmt::Alignment

§

impl UnwindSafe for DebugAsHex

§

impl UnwindSafe for core::fmt::Sign

§

impl UnwindSafe for Count

§

impl UnwindSafe for BasicBlock

§

impl UnwindSafe for UnwindTerminateReason

§

impl UnwindSafe for IpAddr

§

impl UnwindSafe for Ipv6MulticastScope

§

impl UnwindSafe for AddrKind

§

impl UnwindSafe for SocketAddr

§

impl UnwindSafe for FloatErrorKind

§

impl UnwindSafe for FpCategory

§

impl UnwindSafe for IntErrorKind

§

impl UnwindSafe for FullDecoded

§

impl UnwindSafe for core::num::flt2dec::Sign

§

impl UnwindSafe for OneSidedRangeBound

§

impl UnwindSafe for NeverShortCircuitResidual

§

impl UnwindSafe for AlignmentEnum

§

impl UnwindSafe for Direction

§

impl UnwindSafe for GetDisjointMutError

§

impl UnwindSafe for MatchOnly

§

impl UnwindSafe for RejectAndMatch

§

impl UnwindSafe for SearchStep

§

impl UnwindSafe for StrSearcherImpl

§

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

§

impl UnwindSafe for TryFromFloatSecsErrorKind

§

impl UnwindSafe for bool

§

impl UnwindSafe for char

§

impl UnwindSafe for f16

§

impl UnwindSafe for f32

§

impl UnwindSafe for f64

§

impl UnwindSafe for f128

§

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 Layout

§

impl UnwindSafe for LayoutError

§

impl UnwindSafe for AllocError

§

impl UnwindSafe for TypeId

§

impl UnwindSafe for TryFromSliceError

§

impl UnwindSafe for core::ascii::EscapeDefault

§

impl UnwindSafe for TryCaptureWithDebug

§

impl UnwindSafe for TryCaptureWithoutDebug

§

impl UnwindSafe for ByteStr

§

impl UnwindSafe for BorrowError

§

impl UnwindSafe for BorrowMutError

§

impl UnwindSafe for CharTryFromError

§

impl UnwindSafe for ParseCharError

§

impl UnwindSafe for DecodeUtf16Error

§

impl UnwindSafe for EscapeDebugExtArgs

§

impl UnwindSafe for CaseMappingIter

§

impl UnwindSafe for core::char::EscapeDebug

§

impl UnwindSafe for core::char::EscapeDefault

§

impl UnwindSafe for core::char::EscapeUnicode

§

impl UnwindSafe for ToLowercase

§

impl UnwindSafe for ToUppercase

§

impl UnwindSafe for TryFromCharError

§

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 SY

§

impl UnwindSafe for float16x4_t

§

impl UnwindSafe for float16x4x2_t

§

impl UnwindSafe for float16x4x3_t

§

impl UnwindSafe for float16x4x4_t

§

impl UnwindSafe for float16x8_t

§

impl UnwindSafe for float16x8x2_t

§

impl UnwindSafe for float16x8x3_t

§

impl UnwindSafe for float16x8x4_t

§

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 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 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 v4f64

§

impl UnwindSafe for v4i64

§

impl UnwindSafe for v4u64

§

impl UnwindSafe for v8f32

§

impl UnwindSafe for v8i32

§

impl UnwindSafe for v8u32

§

impl UnwindSafe for v16i16

§

impl UnwindSafe for v16u16

§

impl UnwindSafe for v32i8

§

impl UnwindSafe for v32u8

§

impl UnwindSafe for v2f64

§

impl UnwindSafe for v2i64

§

impl UnwindSafe for v2u64

§

impl UnwindSafe for v4f32

§

impl UnwindSafe for v4i32

§

impl UnwindSafe for v4u32

§

impl UnwindSafe for v8i16

§

impl UnwindSafe for v8u16

§

impl UnwindSafe for v16i8

§

impl UnwindSafe for v16u8

§

impl UnwindSafe for f16x2

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_bool_char

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_bool_int

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_bool_short

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_float

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_signed_char

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_signed_int

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_signed_short

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_unsigned_char

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_unsigned_int

§

impl UnwindSafe for core::core_arch::powerpc::altivec::vector_unsigned_short

§

impl UnwindSafe for vector_bool_long

§

impl UnwindSafe for core::core_arch::powerpc::vsx::vector_double

§

impl UnwindSafe for vector_signed_long

§

impl UnwindSafe for vector_unsigned_long

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_bool_char

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_bool_int

§

impl UnwindSafe for vector_bool_long_long

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_bool_short

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_double

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_float

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_signed_char

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_signed_int

§

impl UnwindSafe for vector_signed_long_long

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_signed_short

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_unsigned_char

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_unsigned_int

§

impl UnwindSafe for vector_unsigned_long_long

§

impl UnwindSafe for core::core_arch::s390x::vector::vector_unsigned_short

§

impl UnwindSafe for f16x4

§

impl UnwindSafe for f16x8

§

impl UnwindSafe for f16x16

§

impl UnwindSafe for f16x32

§

impl UnwindSafe for f32x2

§

impl UnwindSafe for f32x4

§

impl UnwindSafe for f32x8

§

impl UnwindSafe for f32x16

§

impl UnwindSafe for f64x1

§

impl UnwindSafe for f64x2

§

impl UnwindSafe for f64x4

§

impl UnwindSafe for f64x8

§

impl UnwindSafe for i8x2

§

impl UnwindSafe for i8x4

§

impl UnwindSafe for i8x8

§

impl UnwindSafe for i8x16

§

impl UnwindSafe for i8x32

§

impl UnwindSafe for i8x64

§

impl UnwindSafe for i16x2

§

impl UnwindSafe for i16x4

§

impl UnwindSafe for i16x8

§

impl UnwindSafe for i16x16

§

impl UnwindSafe for i16x32

§

impl UnwindSafe for i32x2

§

impl UnwindSafe for i32x4

§

impl UnwindSafe for i32x8

§

impl UnwindSafe for i32x16

§

impl UnwindSafe for i32x32

§

impl UnwindSafe for i64x1

§

impl UnwindSafe for i64x2

§

impl UnwindSafe for i64x4

§

impl UnwindSafe for i64x8

§

impl UnwindSafe for m8x16

§

impl UnwindSafe for m8x32

§

impl UnwindSafe for m16x8

§

impl UnwindSafe for m16x16

§

impl UnwindSafe for m32x4

§

impl UnwindSafe for m32x8

§

impl UnwindSafe for m64x2

§

impl UnwindSafe for u8x2

§

impl UnwindSafe for u8x4

§

impl UnwindSafe for u8x8

§

impl UnwindSafe for u8x16

§

impl UnwindSafe for u8x32

§

impl UnwindSafe for u8x64

§

impl UnwindSafe for u16x2

§

impl UnwindSafe for u16x4

§

impl UnwindSafe for u16x8

§

impl UnwindSafe for u16x16

§

impl UnwindSafe for u16x32

§

impl UnwindSafe for u16x64

§

impl UnwindSafe for u32x2

§

impl UnwindSafe for u32x4

§

impl UnwindSafe for u32x8

§

impl UnwindSafe for u32x16

§

impl UnwindSafe for u32x32

§

impl UnwindSafe for u64x1

§

impl UnwindSafe for u64x2

§

impl UnwindSafe for u64x4

§

impl UnwindSafe for u64x8

§

impl UnwindSafe for v128

§

impl UnwindSafe for CpuidResult

§

impl UnwindSafe for AesOutput

§

impl UnwindSafe for EncodeKey128Output

§

impl UnwindSafe for EncodeKey256Output

§

impl UnwindSafe for WideAesOutput

§

impl UnwindSafe for __m128

§

impl UnwindSafe for __m128bh

§

impl UnwindSafe for __m128d

§

impl UnwindSafe for __m128h

§

impl UnwindSafe for __m128i

§

impl UnwindSafe for __m256

§

impl UnwindSafe for __m256bh

§

impl UnwindSafe for __m256d

§

impl UnwindSafe for __m256h

§

impl UnwindSafe for __m256i

§

impl UnwindSafe for __m512

§

impl UnwindSafe for __m512bh

§

impl UnwindSafe for __m512d

§

impl UnwindSafe for __m512h

§

impl UnwindSafe for __m512i

§

impl UnwindSafe for bf16

§

impl UnwindSafe for Internal

§

impl UnwindSafe for CStr

§

impl UnwindSafe for FromBytesUntilNulError

§

impl UnwindSafe for PadAdapterState

§

impl UnwindSafe for Binary

§

impl UnwindSafe for LowerHex

§

impl UnwindSafe for Octal

§

impl UnwindSafe for UpperHex

§

impl UnwindSafe for Placeholder

§

impl UnwindSafe for UnsafeArg

§

impl UnwindSafe for Error

§

impl UnwindSafe for FormattingOptions

§

impl UnwindSafe for PostPadding

§

impl UnwindSafe for Sip13Rounds

§

impl UnwindSafe for Sip24Rounds

§

impl UnwindSafe for SipHasher24

§

impl UnwindSafe for SipHasher

§

impl UnwindSafe for core::hash::sip::State

§

impl UnwindSafe for ReturnToArg

§

impl UnwindSafe for UnwindActionArg

§

impl UnwindSafe for PhantomPinned

§

impl UnwindSafe for Assume

§

impl UnwindSafe for Ipv4Addr

§

impl UnwindSafe for Ipv6Addr

§

impl UnwindSafe for AddrParseError

§

impl UnwindSafe for SocketAddrV4

§

impl UnwindSafe for SocketAddrV6

§

impl UnwindSafe for Big32x40

§

impl UnwindSafe for Big8x3

§

impl UnwindSafe for BiasedFp

§

impl UnwindSafe for Decimal

§

impl UnwindSafe for DecimalSeq

§

impl UnwindSafe for ParseFloatError

§

impl UnwindSafe for ParseIntError

§

impl UnwindSafe for TryFromIntError

§

impl UnwindSafe for Decoded

§

impl UnwindSafe for I32NotAllOnes

§

impl UnwindSafe for I64NotAllOnes

§

impl UnwindSafe for Nanoseconds

§

impl UnwindSafe for NonZeroI8Inner

§

impl UnwindSafe for NonZeroI16Inner

§

impl UnwindSafe for NonZeroI32Inner

§

impl UnwindSafe for NonZeroI64Inner

§

impl UnwindSafe for NonZeroI128Inner

§

impl UnwindSafe for NonZeroIsizeInner

§

impl UnwindSafe for NonZeroU8Inner

§

impl UnwindSafe for NonZeroU16Inner

§

impl UnwindSafe for NonZeroU32Inner

§

impl UnwindSafe for NonZeroU64Inner

§

impl UnwindSafe for NonZeroU128Inner

§

impl UnwindSafe for NonZeroUsizeInner

§

impl UnwindSafe for U32NotAllOnes

§

impl UnwindSafe for U64NotAllOnes

§

impl UnwindSafe for UsizeNoHighBit

§

impl UnwindSafe for IndexRange

§

impl UnwindSafe for core::ptr::alignment::Alignment

§

impl UnwindSafe for RangeFull

§

impl UnwindSafe for EscapeByte

§

impl UnwindSafe for DriftsortRun

§

impl UnwindSafe for ParseBoolError

§

impl UnwindSafe for Utf8Error

§

impl UnwindSafe for EmptyNeedle

§

impl UnwindSafe for TwoWaySearcher

§

impl UnwindSafe for BytesIsNotEmpty

§

impl UnwindSafe for CharEscapeDebugContinue

§

impl UnwindSafe for CharEscapeDefault

§

impl UnwindSafe for CharEscapeUnicode

§

impl UnwindSafe for IsAsciiWhitespace

§

impl UnwindSafe for IsNotEmpty

§

impl UnwindSafe for IsWhitespace

§

impl UnwindSafe for LinesMap

§

impl UnwindSafe for UnsafeBytesToStr

§

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 LocalWaker

§

impl UnwindSafe for RawWaker

§

impl UnwindSafe for RawWakerVTable

§

impl UnwindSafe for Waker

§

impl UnwindSafe for Duration

§

impl UnwindSafe for TryFromFloatSecsError

§

impl UnwindSafe for ShortOffsetRunHeader

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'a> UnwindSafe for ArgumentType<'a>

§

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

§

impl<'a> UnwindSafe for Utf8Pattern<'a>

§

impl<'a> UnwindSafe for core::ffi::c_str::Bytes<'a>

§

impl<'a> UnwindSafe for Argument<'a>

§

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

§

impl<'a> UnwindSafe for PhantomContravariantLifetime<'a>

§

impl<'a> UnwindSafe for PhantomCovariantLifetime<'a>

§

impl<'a> UnwindSafe for PhantomInvariantLifetime<'a>

§

impl<'a> UnwindSafe for Parser<'a>

§

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

§

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

§

impl<'a> UnwindSafe for core::str::iter::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::iter::EscapeDebug<'a>

§

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

§

impl<'a> UnwindSafe for core::str::iter::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 Debug<'a>

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'a> UnwindSafe for PanicMessage<'a>

§

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

§

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, C> UnwindSafe for MultiCharEqSearcher<'a, C>
where C: UnwindSafe,

§

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

§

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

§

impl<'a, I> UnwindSafe for TaggedOption<'a, I>
where <I as Type<'a>>::Reified: UnwindSafe,

§

impl<'a, I, R> !UnwindSafe for GenericShunt<'a, I, R>

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'a, T> !UnwindSafe for core::array::Guard<'a, T>

§

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

§

impl<'a, T> !UnwindSafe for core::mem::maybe_uninit::Guard<'a, T>

§

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::iter::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::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 ChunkByMut<'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 ChunkBy<'a, T, P>

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'a, T, const N: usize> UnwindSafe for core::slice::iter::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> !UnwindSafe for BorrowRef<'b>

§

impl<'b> !UnwindSafe for BorrowRefMut<'b>

§

impl<'b, T> !UnwindSafe for core::cell::Ref<'b, T>

§

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

§

impl<'buf, 'state> !UnwindSafe for PadAdapter<'buf, 'state>

§

impl<'data> !UnwindSafe for BorrowedBuf<'data>

§

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 core::option::IntoIter<A>
where A: UnwindSafe,

§

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

§

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

§

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

§

impl<A> UnwindSafe for IterRangeInclusive<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 C: UnwindSafe, B: UnwindSafe,

§

impl<C> UnwindSafe for MultiCharEqPattern<C>
where C: UnwindSafe,

§

impl<DATA> UnwindSafe for PolymorphicIter<DATA>
where DATA: UnwindSafe + ?Sized,

§

impl<Dyn> !UnwindSafe for DynMetadata<Dyn>

§

impl<E> UnwindSafe for Tagged<E>
where E: UnwindSafe + ?Sized,

§

impl<E, M> UnwindSafe for Capture<E, M>
where E: UnwindSafe, M: UnwindSafe,

§

impl<F> UnwindSafe for MaybeDone<F>
where F: UnwindSafe, <F as Future>::Output: UnwindSafe,

§

impl<F> UnwindSafe for core::fmt::builders::FromFn<F>
where F: UnwindSafe,

§

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

§

impl<F> UnwindSafe for core::iter::sources::from_fn::FromFn<F>
where F: UnwindSafe,

§

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

§

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

§

impl<G> UnwindSafe for FromCoroutine<G>
where G: 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 core::error::tags::Ref<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 as Iterator>::Item: Sized + UnwindSafe, I: 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> UnwindSafe for GenericSplitN<I>
where I: UnwindSafe,

§

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

§

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

§

impl<I, F> UnwindSafe for Map<I, F>
where I: UnwindSafe, F: 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 as Iterator>::Item: UnwindSafe, I: 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 I: UnwindSafe, F: UnwindSafe, St: UnwindSafe,

§

impl<I, U> UnwindSafe for FlattenCompat<I, U>
where U: UnwindSafe, I: UnwindSafe,

§

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

§

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

§

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

§

impl<Idx> UnwindSafe for core::ops::range::Range<Idx>
where Idx: UnwindSafe,

§

impl<Idx> UnwindSafe for core::ops::range::RangeFrom<Idx>
where Idx: UnwindSafe,

§

impl<Idx> UnwindSafe for core::ops::range::RangeInclusive<Idx>
where Idx: UnwindSafe,

§

impl<Idx> UnwindSafe for core::range::Range<Idx>
where Idx: UnwindSafe,

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<S> UnwindSafe for Hasher<S>
where S: UnwindSafe,

§

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 [T]
where T: UnwindSafe,

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<T> UnwindSafe for Pending<T>

§

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

§

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

§

impl<T> UnwindSafe for Empty<T>

§

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

§

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

§

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

§

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

§

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

§

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

§

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 NeverShortCircuit<T>
where T: UnwindSafe,

§

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

§

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

§

impl<T> UnwindSafe for core::result::IntoIter<T>
where T: UnwindSafe,

§

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

§

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

§

impl<T> UnwindSafe for core::slice::sort::stable::quicksort::PartitionState<T>
where T: RefUnwindSafe,

§

impl<T> UnwindSafe for GapGuard<T>

§

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

§

impl<T> UnwindSafe for core::slice::sort::unstable::quicksort::PartitionState<T>
where T: RefUnwindSafe,

§

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

§

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

§

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

§

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

§

impl<T, F> UnwindSafe for core::cell::lazy::State<T, F>
where F: 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, U> UnwindSafe for PackedTuple<T, U>
where T: UnwindSafe, U: UnwindSafe,

§

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

§

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

§

impl<T, const N: usize> UnwindSafe for core::core_simd::masks::mask_impl::Mask<T, N>
where T: UnwindSafe,

§

impl<T, const N: usize> UnwindSafe for core::core_simd::masks::Mask<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 Buffer<T, N>
where T: UnwindSafe,

§

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

§

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

§

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

§

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

§

impl<const LEN: usize> UnwindSafe for SimdShuffleIdx<LEN>

§

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

§

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

§

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

§

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

§

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

§

impl<const SIZE: usize> UnwindSafe for DisplayBuffer<SIZE>