Struct dioxus_core::CapturedError
source · pub struct CapturedError {
pub error: Box<dyn AnyDebug + 'static>,
pub backtrace: Backtrace,
pub scope: ScopeId,
}
Expand description
An instance of an error captured by a descendant component.
Fields§
§error: Box<dyn AnyDebug + 'static>
The error captured by the error boundary
backtrace: Backtrace
The backtrace of the error
scope: ScopeId
The scope that threw the error
Implementations§
Trait Implementations§
source§impl Debug for CapturedError
impl Debug for CapturedError
source§impl Display for CapturedError
impl Display for CapturedError
source§impl Error for CapturedError
impl Error for CapturedError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto 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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.