#[non_exhaustive]pub struct StageFailure {
pub stage: StageId,
pub source: BoxError,
}Expand description
Record describing a per-item stage failure, routed to the
dead-letter sink when ErrorPolicy::DeadLetter is active.
The struct is #[non_exhaustive]; future releases may add fields
(for example, a type-erased copy of the failing input) without
breaking SemVer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stage: StageIdStage that failed.
source: BoxErrorUnderlying error.
Implementations§
Trait Implementations§
Source§impl Debug for StageFailure
impl Debug for StageFailure
Auto Trait Implementations§
impl Freeze for StageFailure
impl !RefUnwindSafe for StageFailure
impl Send for StageFailure
impl Sync for StageFailure
impl Unpin for StageFailure
impl UnsafeUnpin for StageFailure
impl !UnwindSafe for StageFailure
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