Struct dioxus_core::CapturedError
source · pub struct CapturedError {
pub error: Box<dyn Debug + 'static>,
pub scope: ScopeId,
}
Expand description
An instance of an error captured by a descendant component.
Fields§
§error: Box<dyn Debug + 'static>
The error captured by the error boundary
scope: ScopeId
The scope that threw the error
Implementations§
Auto Trait Implementations§
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