flow-graph 0.23.0

A representation of a graph data structure for flow-based programming.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::PortIndex;

#[derive(thiserror::Error, Debug, Clone, PartialEq)]
#[non_exhaustive]
pub enum Error {
  #[error("Invalid port index '{0}'")]
  InvalidPortIndex(PortIndex),
  #[error("Too many connections to input port '{0}'")]
  MultipleInputConnections(String),
}