pub struct ErrEntry {
pub index: usize,
pub name: Arc<str>,
pub err: Err,
}Expand description
Represents an entry containing an error, along with its context.
This structure is used to aggregate errors that occur during parallel or asynchronous operations, providing the index of the operation, a descriptive name, and the error itself.
Fields§
§index: usizeThe index of the operation or handler that generated the error.
name: Arc<str>A descriptive name for the operation or context.
err: ErrThe actual error that occurred.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ErrEntry
impl Freeze for ErrEntry
impl Send for ErrEntry
impl Sync for ErrEntry
impl Unpin for ErrEntry
impl UnsafeUnpin for ErrEntry
impl UnwindSafe for ErrEntry
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