pub struct CapturedError {
pub message: String,
pub widget_name: &'static str,
pub area: Rect,
pub timestamp: Instant,
}Expand description
Captured error from a widget panic.
Fields§
§message: StringError message extracted from the panic payload.
widget_name: &'static strName of the widget that panicked.
area: RectArea the widget was rendering into.
timestamp: InstantWhen the error was captured.
Trait Implementations§
Source§impl Clone for CapturedError
impl Clone for CapturedError
Source§fn clone(&self) -> CapturedError
fn clone(&self) -> CapturedError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CapturedError
impl RefUnwindSafe for CapturedError
impl Send for CapturedError
impl Sync for CapturedError
impl Unpin for CapturedError
impl UnwindSafe for CapturedError
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