std::panic::abort_unwind
pub fn abort_unwind<F, R>(f: F) -> R where F: FnOnce() -> R
- Kind
- function
- Module
std::panic
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::panic in the Rust reference. This page has 26 cards.
pub fn abort_unwind<F, R>(f: F) -> R where F: FnOnce() -> R
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn always_abort()
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct AssertUnwindSafe<T>(pub T)
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
#[non_exhaustive]pub enum BacktraceStyle
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get_backtrace_style() -> Option<BacktraceStyle>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Location<'a>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn caller() -> &'static Location<'static>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn column(&self) -> u32
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn file(&self) -> &'a str
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn file_as_c_str(&self) -> &'a CStr
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn line(&self) -> u32
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn panic_any<M: 'static + Any + Send>(msg: M) -> !
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct PanicHookInfo<'a>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn can_unwind(&self) -> bool
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn location(&self) -> Option<&'static Location<'static>>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn payload(&self) -> &(dyn Any + Send)
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn payload_as_str(&self) -> Option<&str>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub type PanicInfo<'a> = PanicHookInfo<'a>;
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub auto trait RefUnwindSafe
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn resume_unwind(payload: Box<dyn Any + Send>) -> !
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_backtrace_style(style: BacktraceStyle)
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_hook(hook: Box<dyn Fn(&PanicHookInfo<'_>) + Sync + Send + 'static>)
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn take_hook() -> Box<dyn Fn(&PanicHookInfo<'_>) + Sync + Send + 'static>
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub auto trait UnwindSafe
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn update_hook<F>(hook_fn: F) where F: Fn(&(dyn Fn(&PanicHookInfo<'_>) + Send + Sync + 'static), &PanicHookInfo<'_>) + Sync + Send + 'static
std::panicSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.