pub enum Type {
Console,
Popup,
Native,
}Expand description
Selects how panic output is presented when the hook is installed.
Variants§
Console
Log the panic message and stack trace via console.error.
Popup
Render the panic message into a full-screen DIV overlay, useful on devices without access to console output.
Native
Use the platform’s native panic handling (non-WASM targets).
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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