pub struct ComponentError {
pub component: &'static str,
pub message: String,
}Expand description
A component’s code panicked: what an error boundary
(super::catch_error) shows.
Fields§
§component: &'static strThe component that failed (its registered name: its type’s).
message: StringWhat its code panicked with.
Trait Implementations§
Source§impl Clone for ComponentError
impl Clone for ComponentError
Source§impl Debug for ComponentError
impl Debug for ComponentError
Source§impl Display for ComponentError
impl Display for ComponentError
impl Eq for ComponentError
Source§impl PartialEq for ComponentError
impl PartialEq for ComponentError
impl StructuralPartialEq for ComponentError
Auto Trait Implementations§
impl Forget for ComponentError
impl Freeze for ComponentError
impl Move for ComponentError
impl RefUnwindSafe for ComponentError
impl Send for ComponentError
impl Sync for ComponentErrorwhere
RawVecInner: Sync,
impl Unpin for ComponentError
impl UnsafeUnpin for ComponentError
impl UnwindSafe for ComponentError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<E> IntoThrown for Ewhere
E: Display,
impl<E> IntoThrown for Ewhere
E: Display,
Source§fn into_thrown(self) -> Thrown
fn into_thrown(self) -> Thrown
The exception.