#[non_exhaustive]pub enum FatalSite {
PoolWorker,
InlineSubmit,
ExecutorRunLoop,
}Expand description
Which executor boundary detected the unrecoverable fault.
Marked #[non_exhaustive] so new boundaries (e.g. a future timer thread)
can be added without breaking match arms in caller code.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PoolWorker
A pool worker thread’s catch_unwind boundary re-panicked.
InlineSubmit
The inline-submit path (pool size 0) caught a second panic.
ExecutorRunLoop
The executor’s main run-loop caught an unrecoverable panic.
Trait Implementations§
impl Copy for FatalSite
impl Eq for FatalSite
impl StructuralPartialEq for FatalSite
Auto Trait Implementations§
impl Freeze for FatalSite
impl RefUnwindSafe for FatalSite
impl Send for FatalSite
impl Sync for FatalSite
impl Unpin for FatalSite
impl UnsafeUnpin for FatalSite
impl UnwindSafe for FatalSite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more