1use std::error::Error; 2 3pub trait FlowComponent { 4 type Input; 5 type Output; 6 type Error: Error + Send + Sync + 'static; 7}