pub struct FatalError {
pub component: String,
pub reason: String,
}Expand description
An unrecoverable pipeline failure: an invariant was violated or a
Fail-policy stage tripped. The pipeline transitions to Failed, the
partition watermarks stop advancing, and the process exits non-zero.
Fields§
§component: StringComponent id where the failure originated.
reason: StringHuman-readable cause.
Trait Implementations§
Source§impl Debug for FatalError
impl Debug for FatalError
Source§impl Display for FatalError
impl Display for FatalError
Source§impl Error for FatalError
impl Error for FatalError
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 FatalError
impl RefUnwindSafe for FatalError
impl Send for FatalError
impl Sync for FatalError
impl Unpin for FatalError
impl UnsafeUnpin for FatalError
impl UnwindSafe for FatalError
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