#[non_exhaustive]pub enum PipelineError<DE, TE, CE, FE, IE> {
Source(DE),
Dataset(DE),
Transform(TE),
Collate(CE),
TransformInit(FE),
WorkerInit(IE),
}Expand description
A preserved failure from one typed data-pipeline stage.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Source(DE)
Explicit streaming source creation or iteration failed.
Dataset(DE)
Dataset fetch failed.
Transform(TE)
Sample transformation failed.
Collate(CE)
Coordinator collation failed.
TransformInit(FE)
Per-iterator or per-worker transform construction failed.
WorkerInit(IE)
Worker initialization failed.
Trait Implementations§
Source§impl<DE: Debug, TE: Debug, CE: Debug, FE: Debug, IE: Debug> Debug for PipelineError<DE, TE, CE, FE, IE>
impl<DE: Debug, TE: Debug, CE: Debug, FE: Debug, IE: Debug> Debug for PipelineError<DE, TE, CE, FE, IE>
Source§impl<DE, TE, CE, FE, IE> Display for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> Display for PipelineError<DE, TE, CE, FE, IE>
Source§impl<DE, TE, CE, FE, IE> Error for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> Error for PipelineError<DE, TE, CE, FE, IE>
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<DE, TE, CE, FE, IE> Forget for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> Freeze for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> RefUnwindSafe for PipelineError<DE, TE, CE, FE, IE>where
DE: RefUnwindSafe,
TE: RefUnwindSafe,
CE: RefUnwindSafe,
FE: RefUnwindSafe,
IE: RefUnwindSafe,
impl<DE, TE, CE, FE, IE> Send for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> Sync for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> Unpin for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> UnsafeUnpin for PipelineError<DE, TE, CE, FE, IE>
impl<DE, TE, CE, FE, IE> UnwindSafe for PipelineError<DE, TE, CE, FE, IE>
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