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