Closed baliuzeger closed 5 years ago
`pub trait PassiveConnection<S0: Send, S1: Send> {
fn mode(&self) -> RunMode;
fn config_run(&mut self, mode: RunMode);
fn config_idle(&mut self);
fn propagate(&self);
// fn set_pre_channel_ffw(&mut self, channel: Option<CCReceiver
pub trait PassiveImporter
pub trait PassiveExporter
done.
pub struct ComponentIdle<C, S0, S1> where C: PassiveConnection<S0, S1> + Send + ?Sized, { connections: Vec<Weak<Mutex<C>>>, }
to
Inlet<S0> & Outlet<S1>
respectively for post/pre components.