pipebase 0.2.0

A tokio based runtime library for data integration app
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod print;
mod runtime;

pub use print::*;
pub use runtime::*;

use crate::common::{FromConfig, PipeError};
use async_trait::async_trait;

#[async_trait]
pub trait HandleError<C>: FromConfig<C> {
    async fn handle_error(&mut self, pipe_error: PipeError) -> anyhow::Result<()>;
}