pub struct PanickedTask {
pub index: Index,
pub name: SharedString,
pub panic: Panic,
}
Expand description
Information about a stopped task.
Fields§
§index: Index
The index of the task.
name: SharedString
The name of the task, if any.
panic: Panic
The panic from the task.
Trait Implementations§
Source§impl Debug for PanickedTask
impl Debug for PanickedTask
Source§impl Display for PanickedTask
impl Display for PanickedTask
Source§impl Error for PanickedTask
impl Error for PanickedTask
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PanickedTask
impl !RefUnwindSafe for PanickedTask
impl Send for PanickedTask
impl !Sync for PanickedTask
impl Unpin for PanickedTask
impl !UnwindSafe for PanickedTask
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