pub struct PanicBacktrace;
Expand description
Utility for tracking panic backtrace.
This is originally used internally, and only exposed because it is needed outside flutter_rust_bridge. Therefore, the API may not follow semantics versioning.
Implementations§
Source§impl PanicBacktrace
impl PanicBacktrace
pub fn setup()
pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>( f: F, ) -> Result<R, CatchUnwindWithBacktrace>
pub fn take_last() -> Option<Backtrace>
Auto Trait Implementations§
impl Freeze for PanicBacktrace
impl RefUnwindSafe for PanicBacktrace
impl Send for PanicBacktrace
impl Sync for PanicBacktrace
impl Unpin for PanicBacktrace
impl UnwindSafe for PanicBacktrace
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