Trait tracing::stdlib::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.9.0 · source§

impl UnwindSafe for Stderr

1.9.0 · source§

impl UnwindSafe for StderrLock<'_>

1.9.0 · source§

impl UnwindSafe for Stdout

1.9.0 · source§

impl UnwindSafe for StdoutLock<'_>

1.9.0 · source§

impl UnwindSafe for Condvar

1.59.0 · source§

impl UnwindSafe for tracing::stdlib::sync::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 HashMap<K, V, S>
where K: UnwindSafe, V: UnwindSafe, S: UnwindSafe,

1.9.0 · source§

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

1.9.0 · source§

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

1.9.0 · source§

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

1.9.0 · source§

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

source§

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

1.28.0 · source§

impl<T> UnwindSafe for NonZero<T>

1.25.0 · source§

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

1.9.0 · source§

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

1.70.0 · source§

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

source§

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

1.9.0 · source§

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

1.9.0 · source§

impl<T> UnwindSafe for AssertUnwindSafe<T>

1.9.0 · source§

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

1.9.0 · source§

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

1.80.0 · source§

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

Auto implementors§

§

impl !UnwindSafe for DefaultCallsite

§

impl !UnwindSafe for WeakDispatch

§

impl !UnwindSafe for Field

§

impl !UnwindSafe for FieldSet

§

impl !UnwindSafe for tracing::field::Iter

§

impl !UnwindSafe for EnteredSpan

§

impl !UnwindSafe for Inner

§

impl !UnwindSafe for Dispatch

§

impl !UnwindSafe for Span

§

impl !UnwindSafe for DefaultGuard

§

impl !UnwindSafe for tracing::stdlib::io::Error

§

impl !UnwindSafe for Command

§

impl UnwindSafe for log::Level

§

impl UnwindSafe for log::LevelFilter

§

impl UnwindSafe for AsciiChar

§

impl UnwindSafe for BacktraceStatus

§

impl UnwindSafe for tracing::stdlib::cmp::Ordering

§

impl UnwindSafe for TryReserveErrorKind

§

impl UnwindSafe for Infallible

§

impl UnwindSafe for VarError

§

impl UnwindSafe for c_void

§

impl UnwindSafe for tracing::stdlib::fmt::Alignment

§

impl UnwindSafe for BasicBlock

§

impl UnwindSafe for UnwindTerminateReason

§

impl UnwindSafe for ErrorKind

§

impl UnwindSafe for SeekFrom

§

impl UnwindSafe for IpAddr

§

impl UnwindSafe for Ipv6MulticastScope

§

impl UnwindSafe for Shutdown

§

impl UnwindSafe for tracing::stdlib::net::SocketAddr

§

impl UnwindSafe for FpCategory

§

impl UnwindSafe for IntErrorKind

§

impl UnwindSafe for AncillaryError

§

impl UnwindSafe for SearchStep

§

impl UnwindSafe for tracing::stdlib::sync::atomic::Ordering

§

impl UnwindSafe for RecvTimeoutError

§

impl UnwindSafe for TryRecvError

§

impl UnwindSafe for BacktraceStyle

§

impl UnwindSafe for ParseLevelError

§

impl UnwindSafe for SetLoggerError

§

impl UnwindSafe for tracing::field::Empty

§

impl UnwindSafe for tracing::level_filters::LevelFilter

§

impl UnwindSafe for ParseLevelFilterError

§

impl UnwindSafe for Id

§

impl UnwindSafe for PhantomNotSend

§

impl UnwindSafe for tracing::Level

§

impl UnwindSafe for Interest

§

impl UnwindSafe for NoSubscriber

§

impl UnwindSafe for SetGlobalDefaultError

§

impl UnwindSafe for AllocError

§

impl UnwindSafe for Global

§

impl UnwindSafe for Layout

§

impl UnwindSafe for LayoutError

§

impl UnwindSafe for System

§

impl UnwindSafe for TypeId

§

impl UnwindSafe for CpuidResult

§

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 TryFromSliceError

§

impl UnwindSafe for tracing::stdlib::ascii::EscapeDefault

§

impl UnwindSafe for Backtrace

§

impl UnwindSafe for BacktraceFrame

§

impl UnwindSafe for BorrowError

§

impl UnwindSafe for BorrowMutError

§

impl UnwindSafe for CharTryFromError

§

impl UnwindSafe for DecodeUtf16Error

§

impl UnwindSafe for tracing::stdlib::char::EscapeDebug

§

impl UnwindSafe for tracing::stdlib::char::EscapeDefault

§

impl UnwindSafe for tracing::stdlib::char::EscapeUnicode

§

impl UnwindSafe for ParseCharError

§

impl UnwindSafe for ToLowercase

§

impl UnwindSafe for ToUppercase

§

impl UnwindSafe for TryFromCharError

§

impl UnwindSafe for UnorderedKeyError

§

impl UnwindSafe for TryReserveError

§

impl UnwindSafe for Args

§

impl UnwindSafe for ArgsOs

§

impl UnwindSafe for JoinPathsError

§

impl UnwindSafe for Vars

§

impl UnwindSafe for VarsOs

§

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 OsStr

§

impl UnwindSafe for OsString

§

impl UnwindSafe for tracing::stdlib::fmt::Error

§

impl UnwindSafe for DirBuilder

§

impl UnwindSafe for DirEntry

§

impl UnwindSafe for File

§

impl UnwindSafe for FileTimes

§

impl UnwindSafe for FileType

§

impl UnwindSafe for tracing::stdlib::fs::Metadata

§

impl UnwindSafe for OpenOptions

§

impl UnwindSafe for Permissions

§

impl UnwindSafe for ReadDir

§

impl UnwindSafe for DefaultHasher

§

impl UnwindSafe for RandomState

§

impl UnwindSafe for SipHasher

§

impl UnwindSafe for ReturnToArg

§

impl UnwindSafe for UnwindActionArg

§

impl UnwindSafe for tracing::stdlib::io::Empty

§

impl UnwindSafe for tracing::stdlib::io::Repeat

§

impl UnwindSafe for Sink

§

impl UnwindSafe for Stdin

§

impl UnwindSafe for WriterPanicked

§

impl UnwindSafe for PhantomPinned

§

impl UnwindSafe for Assume

§

impl UnwindSafe for AddrParseError

§

impl UnwindSafe for IntoIncoming

§

impl UnwindSafe for Ipv4Addr

§

impl UnwindSafe for Ipv6Addr

§

impl UnwindSafe for SocketAddrV4

§

impl UnwindSafe for SocketAddrV6

§

impl UnwindSafe for TcpListener

§

impl UnwindSafe for TcpStream

§

impl UnwindSafe for UdpSocket

§

impl UnwindSafe for ParseFloatError

§

impl UnwindSafe for ParseIntError

§

impl UnwindSafe for TryFromIntError

§

impl UnwindSafe for RangeFull

§

impl UnwindSafe for OwnedFd

§

impl UnwindSafe for PidFd

§

impl UnwindSafe for stat

§

impl UnwindSafe for tracing::stdlib::os::unix::net::SocketAddr

§

impl UnwindSafe for SocketCred

§

impl UnwindSafe for UCred

§

impl UnwindSafe for UnixDatagram

§

impl UnwindSafe for UnixListener

§

impl UnwindSafe for UnixStream

§

impl UnwindSafe for Path

§

impl UnwindSafe for PathBuf

§

impl UnwindSafe for StripPrefixError

§

impl UnwindSafe for PipeReader

§

impl UnwindSafe for PipeWriter

§

impl UnwindSafe for Child

§

impl UnwindSafe for ChildStderr

§

impl UnwindSafe for ChildStdin

§

impl UnwindSafe for ChildStdout

§

impl UnwindSafe for ExitCode

§

impl UnwindSafe for ExitStatus

§

impl UnwindSafe for ExitStatusError

§

impl UnwindSafe for Output

§

impl UnwindSafe for Stdio

§

impl UnwindSafe for tracing::stdlib::ptr::Alignment

§

impl UnwindSafe for ParseBoolError

§

impl UnwindSafe for Utf8Error

§

impl UnwindSafe for FromUtf8Error

§

impl UnwindSafe for FromUtf16Error

§

impl UnwindSafe for String

§

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 RecvError

§

impl UnwindSafe for Barrier

§

impl UnwindSafe for BarrierWaitResult

§

impl UnwindSafe for OnceState

§

impl UnwindSafe for WaitTimeoutResult

§

impl UnwindSafe for LocalWaker

§

impl UnwindSafe for RawWaker

§

impl UnwindSafe for RawWakerVTable

§

impl UnwindSafe for Waker

§

impl UnwindSafe for AccessError

§

impl UnwindSafe for Builder

§

impl UnwindSafe for Thread

§

impl UnwindSafe for ThreadId

§

impl UnwindSafe for Duration

§

impl UnwindSafe for Instant

§

impl UnwindSafe for SystemTime

§

impl UnwindSafe for SystemTimeError

§

impl UnwindSafe for TryFromFloatSecsError

§

impl UnwindSafe for Maybe

§

impl UnwindSafe for NoRuntime

§

impl UnwindSafe for Runtime

§

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

§

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

§

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

§

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

§

impl<'a> !UnwindSafe for tracing::span::Record<'a>

§

impl<'a> !UnwindSafe for tracing::Metadata<'a>

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'a> UnwindSafe for AncillaryData<'a>

§

impl<'a> UnwindSafe for Component<'a>

§

impl<'a> UnwindSafe for Prefix<'a>

§

impl<'a> UnwindSafe for log::Metadata<'a>

§

impl<'a> UnwindSafe for MetadataBuilder<'a>

§

impl<'a> UnwindSafe for log::Record<'a>

§

impl<'a> UnwindSafe for RecordBuilder<'a>

§

impl<'a> UnwindSafe for SplitPaths<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::ffi::os_str::Display<'a>

§

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

§

impl<'a> UnwindSafe for IoSlice<'a>

§

impl<'a> UnwindSafe for StdinLock<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::net::Incoming<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::os::unix::net::Incoming<'a>

§

impl<'a> UnwindSafe for Messages<'a>

§

impl<'a> UnwindSafe for ScmCredentials<'a>

§

impl<'a> UnwindSafe for ScmRights<'a>

§

impl<'a> UnwindSafe for Ancestors<'a>

§

impl<'a> UnwindSafe for Components<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::path::Display<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::path::Iter<'a>

§

impl<'a> UnwindSafe for PrefixComponent<'a>

§

impl<'a> UnwindSafe for CommandArgs<'a>

§

impl<'a> UnwindSafe for CommandEnvs<'a>

§

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

§

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

§

impl<'a> UnwindSafe for tracing::stdlib::str::Bytes<'a>

§

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

§

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

§

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

§

impl<'a> UnwindSafe for tracing::stdlib::str::EscapeDebug<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::str::EscapeDefault<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::str::EscapeUnicode<'a>

§

impl<'a> UnwindSafe for tracing::stdlib::str::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 tracing::stdlib::string::Drain<'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 tracing::stdlib::option::IterMut<'a, A>

§

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

§

impl<'a, B> UnwindSafe for Cow<'a, B>
where <B as ToOwned>::Owned: UnwindSafe, B: RefUnwindSafe + ?Sized,

§

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 tracing::stdlib::collections::btree_set::Cursor<'a, K>
where K: RefUnwindSafe,

§

impl<'a, K> UnwindSafe for tracing::stdlib::collections::hash_set::Drain<'a, K>
where K: RefUnwindSafe,

§

impl<'a, K> UnwindSafe for tracing::stdlib::collections::hash_set::Iter<'a, K>
where K: RefUnwindSafe,

§

impl<'a, K, A = Global> !UnwindSafe for tracing::stdlib::collections::btree_set::CursorMut<'a, K, A>

§

impl<'a, K, A = Global> !UnwindSafe for tracing::stdlib::collections::btree_set::CursorMutKey<'a, K, A>

§

impl<'a, K, F> !UnwindSafe for tracing::stdlib::collections::hash_set::ExtractIf<'a, K, F>

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::hash_map::Entry<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::btree_map::IterMut<'a, K, V>

§

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

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::btree_map::ValuesMut<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::hash_map::IterMut<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::hash_map::OccupiedEntry<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::hash_map::OccupiedError<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::hash_map::VacantEntry<'a, K, V>

§

impl<'a, K, V> !UnwindSafe for tracing::stdlib::collections::hash_map::ValuesMut<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::btree_map::Cursor<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::btree_map::Iter<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::btree_map::Keys<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::btree_map::Range<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::btree_map::Values<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::hash_map::Drain<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::hash_map::Iter<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::hash_map::Keys<'a, K, V>

§

impl<'a, K, V> UnwindSafe for tracing::stdlib::collections::hash_map::Values<'a, K, V>

§

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

§

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

§

impl<'a, K, V, A = Global> !UnwindSafe for tracing::stdlib::collections::btree_map::CursorMutKey<'a, K, V, A>

§

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

§

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

§

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

§

impl<'a, K, V, F> !UnwindSafe for tracing::stdlib::collections::hash_map::ExtractIf<'a, K, V, F>

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<'a, P> UnwindSafe for MatchIndices<'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 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 tracing::stdlib::str::RSplit<'a, P>
where <P as Pattern>::Searcher<'a>: UnwindSafe,

§

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

§

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

§

impl<'a, P> UnwindSafe for tracing::stdlib::str::SplitN<'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 tracing::stdlib::collections::linked_list::IterMut<'a, T>

§

impl<'a, T> !UnwindSafe for tracing::stdlib::collections::vec_deque::IterMut<'a, T>

§

impl<'a, T> !UnwindSafe for tracing::stdlib::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 tracing::stdlib::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 MappedMutexGuard<'a, T>

§

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

§

impl<'a, T> UnwindSafe for tracing::stdlib::collections::binary_heap::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for tracing::stdlib::collections::btree_set::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for tracing::stdlib::collections::btree_set::Range<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for tracing::stdlib::collections::btree_set::SymmetricDifference<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for tracing::stdlib::collections::btree_set::Union<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for tracing::stdlib::collections::linked_list::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for tracing::stdlib::collections::vec_deque::Iter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> UnwindSafe for tracing::stdlib::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 tracing::stdlib::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> UnwindSafe for tracing::stdlib::sync::mpsc::Iter<'a, T>

§

impl<'a, T> UnwindSafe for TryIter<'a, T>

§

impl<'a, T> UnwindSafe for MappedRwLockReadGuard<'a, T>
where T: RefUnwindSafe + ?Sized,

§

impl<'a, T> UnwindSafe for MutexGuard<'a, T>
where T: ?Sized,

§

impl<'a, T> UnwindSafe for ReentrantLockGuard<'a, T>
where T: RefUnwindSafe + ?Sized,

§

impl<'a, T> UnwindSafe for RwLockReadGuard<'a, T>
where T: RefUnwindSafe + ?Sized,

§

impl<'a, T> UnwindSafe for RwLockWriteGuard<'a, T>
where T: ?Sized,

§

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 tracing::stdlib::collections::linked_list::CursorMut<'a, T, A>

§

impl<'a, T, A> UnwindSafe for tracing::stdlib::collections::binary_heap::Drain<'a, T, A>

§

impl<'a, T, A> UnwindSafe for tracing::stdlib::collections::btree_set::Difference<'a, T, A>

§

impl<'a, T, A> UnwindSafe for tracing::stdlib::collections::btree_set::Intersection<'a, T, A>

§

impl<'a, T, A> UnwindSafe for tracing::stdlib::collections::linked_list::Cursor<'a, T, A>

§

impl<'a, T, A> UnwindSafe for tracing::stdlib::collections::vec_deque::Drain<'a, T, A>

§

impl<'a, T, A> UnwindSafe for tracing::stdlib::vec::Drain<'a, T, A>

§

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

§

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

§

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

§

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 tracing::stdlib::slice::RSplit<'a, T, P>

§

impl<'a, T, P> UnwindSafe for tracing::stdlib::slice::RSplitN<'a, T, P>

§

impl<'a, T, P> UnwindSafe for tracing::stdlib::slice::Split<'a, T, P>

§

impl<'a, T, P> UnwindSafe for tracing::stdlib::slice::SplitInclusive<'a, T, P>

§

impl<'a, T, P> UnwindSafe for tracing::stdlib::slice::SplitN<'a, T, P>

§

impl<'a, T, S> UnwindSafe for tracing::stdlib::collections::hash_set::Difference<'a, T, S>

§

impl<'a, T, S> UnwindSafe for tracing::stdlib::collections::hash_set::Intersection<'a, T, S>

§

impl<'a, T, S> UnwindSafe for tracing::stdlib::collections::hash_set::SymmetricDifference<'a, T, S>

§

impl<'a, T, S> UnwindSafe for tracing::stdlib::collections::hash_set::Union<'a, T, S>

§

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

§

impl<'a, T, const N: usize> UnwindSafe for tracing::stdlib::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<'data> !UnwindSafe for BorrowedBuf<'data>

§

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

§

impl<'fd> UnwindSafe for BorrowedFd<'fd>

§

impl<'scope, 'env> !UnwindSafe for Scope<'scope, 'env>

§

impl<'scope, T> !UnwindSafe for ScopedJoinHandle<'scope, T>

§

impl<A> UnwindSafe for tracing::stdlib::iter::Repeat<A>
where A: UnwindSafe,

§

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

§

impl<A> UnwindSafe for tracing::stdlib::option::IntoIter<A>
where A: UnwindSafe,

§

impl<A, B> UnwindSafe for tracing::stdlib::iter::Chain<A, B>
where A: UnwindSafe, B: UnwindSafe,

§

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

§

impl<B> UnwindSafe for tracing::stdlib::io::Lines<B>
where B: UnwindSafe,

§

impl<B> UnwindSafe for tracing::stdlib::io::Split<B>
where B: UnwindSafe,

§

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

§

impl<Dyn> !UnwindSafe for DynMetadata<Dyn>

§

impl<E> UnwindSafe for Report<E>
where E: UnwindSafe,

§

impl<F> UnwindSafe for tracing::stdlib::fmt::FromFn<F>
where F: UnwindSafe,

§

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

§

impl<F> UnwindSafe for tracing::stdlib::iter::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>

§

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 tracing::stdlib::iter::Take<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, F> UnwindSafe for FlatMap<I, U, F>

§

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

§

impl<Idx> UnwindSafe for tracing::stdlib::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> UnwindSafe for tracing::stdlib::collections::hash_set::IntoIter<K>

§

impl<K, V> UnwindSafe for tracing::stdlib::collections::hash_map::IntoIter<K, V>

§

impl<K, V> UnwindSafe for tracing::stdlib::collections::hash_map::IntoKeys<K, V>

§

impl<K, V> UnwindSafe for tracing::stdlib::collections::hash_map::IntoValues<K, V>

§

impl<K, V, A> UnwindSafe for tracing::stdlib::collections::btree_map::IntoIter<K, V, A>

§

impl<K, V, A> UnwindSafe for tracing::stdlib::collections::btree_map::IntoKeys<K, V, A>

§

impl<K, V, A> UnwindSafe for tracing::stdlib::collections::btree_map::IntoValues<K, V, A>

§

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

§

impl<R> UnwindSafe for BufReader<R>
where R: UnwindSafe + ?Sized,

§

impl<R> UnwindSafe for tracing::stdlib::io::Bytes<R>
where R: UnwindSafe,

§

impl<T> !UnwindSafe for Instrumented<T>

§

impl<T> !UnwindSafe for WithDispatch<T>

§

impl<T> !UnwindSafe for JoinHandle<T>

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

impl<T> UnwindSafe for tracing::stdlib::cell::OnceCell<T>
where T: UnwindSafe,

§

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 AsyncDropInPlace<T>

§

impl<T> UnwindSafe for Pending<T>

§

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

§

impl<T> UnwindSafe for tracing::stdlib::io::Cursor<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for tracing::stdlib::io::Take<T>
where T: UnwindSafe,

§

impl<T> UnwindSafe for tracing::stdlib::iter::Empty<T>

§

impl<T> UnwindSafe for tracing::stdlib::iter::Once<T>
where T: UnwindSafe,

§

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

§

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

§

impl<T> UnwindSafe for Discriminant<T>

§

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

§

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

§

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

§

impl<T> UnwindSafe for tracing::stdlib::sync::mpsc::IntoIter<T>

§

impl<T> UnwindSafe for Receiver<T>

§

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

§

impl<T> UnwindSafe for Sender<T>

§

impl<T> UnwindSafe for SyncSender<T>

§

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

§

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

§

impl<T> UnwindSafe for LocalKey<T>

§

impl<T> UnwindSafe for std::sys::thread_local::native::eager::Storage<T>
where T: UnwindSafe,

§

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

§

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

§

impl<T, A = Global> !UnwindSafe for tracing::stdlib::rc::Weak<T, A>

§

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

§

impl<T, A> UnwindSafe for tracing::stdlib::collections::binary_heap::IntoIter<T, A>

§

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

§

impl<T, A> UnwindSafe for tracing::stdlib::collections::btree_set::IntoIter<T, A>

§

impl<T, A> UnwindSafe for tracing::stdlib::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 tracing::stdlib::collections::vec_deque::IntoIter<T, A>
where A: UnwindSafe, T: UnwindSafe,

§

impl<T, A> UnwindSafe for tracing::stdlib::sync::Weak<T, A>
where A: UnwindSafe, T: RefUnwindSafe + ?Sized,

§

impl<T, A> UnwindSafe for tracing::stdlib::vec::IntoIter<T, A>

§

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

§

impl<T, D> UnwindSafe for std::sys::thread_local::native::lazy::Storage<T, D>
where T: UnwindSafe, D: UnwindSafe,

§

impl<T, E> UnwindSafe for Result<T, E>
where T: UnwindSafe, E: 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> UnwindSafe for HashSet<T, S>
where S: UnwindSafe, T: UnwindSafe,

§

impl<T, U> UnwindSafe for tracing::stdlib::io::Chain<T, U>
where T: UnwindSafe, U: UnwindSafe,

§

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

§

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

§

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

§

impl<W> !UnwindSafe for IntoInnerError<W>

§

impl<W> UnwindSafe for BufWriter<W>
where W: UnwindSafe + ?Sized,

§

impl<W> UnwindSafe for LineWriter<W>
where W: UnwindSafe + ?Sized,

§

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

§

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