Trait for interactiving with graph, which can be derived by `#[derive(Node)]`.
| 42 | crate::collect!(String, NodeSlice); |
| 43 | /// Trait for interactiving with graph, which can be derived by `#[derive(Node)]`. |
| 44 | pub trait Node { |
| 45 | fn set_port(&mut self, port_name: &str, tag: Option<u64>, channel: &ChannelStorage); |
| 46 | fn set_port_dynamic(&mut self, port_name: &str, config: DynPortsConfig); |
| 47 | fn close(&mut self); |
| 48 | fn is_allinp_closed(&self) -> bool; |
| 49 | } |
| 50 | |
| 51 | /// Trait for interactiving with schedule, which can be derived by `#[derive(Actor)]`. |
| 52 | pub trait Actor: Node + Send + 'static { |
nothing calls this directly
no outgoing calls
no test coverage detected