Expand description
Error model for pipe-io.
The crate uses a single top-level Error type that wraps the boxed
source error from any stage. Stage-supplied errors only need to
satisfy StageError (Debug + Display + Send + Sync + 'static),
which every std::error::Error type already does via the blanket
impl below. The core::error::Error super-trait was avoided so the
error model works at the crate’s MSRV of 1.75.
Structs§
- Stage
Failure - Record describing a per-item stage failure, routed to the
dead-letter sink when
ErrorPolicy::DeadLetteris active.
Enums§
- Buffer
Error Kind - Kind of buffer-related failure surfaced by a driver.
- Error
- Top-level error type returned by every pipeline operation.
- Error
Policy - Per-stage policy for how errors propagate.
Traits§
- Stage
Error - Marker trait for error types that stages can produce. Blanket-
implemented for every
T: Debug + Display + Send + Sync + 'static, which includes everystd::error::Errorimplementor.