Trait PipelineErrorExt

Source
pub trait PipelineErrorExt {
    // Required methods
    fn try_into_pipeline_error(self) -> Result<PipelineError, Error>;
    fn either_pipeline_error(self) -> Either<PipelineError, Error>;
}

Required Methods§

Source

fn try_into_pipeline_error(self) -> Result<PipelineError, Error>

Downcast the Error to a PipelineError

Source

fn either_pipeline_error(self) -> Either<PipelineError, Error>

If the Error can be downcast to a PipelineError, then the left variant is returned, otherwise the right variant is returned.

Implementors§