One option is to force ToArrow trait on ArconType. But this would mean limiting what data can be sent through the dataflow. Instead the better option I think is to enforce ToArrow on state indexes as this is where it will be used.
pub trait IndexValue: Value + ToArrow {}
impl<T> IndexValue for T where T: Value + ToArrow {}
Related to #210.
One option is to force
ToArrow
trait onArconType
. But this would mean limiting what data can be sent through the dataflow. Instead the better option I think is to enforceToArrow
on state indexes as this is where it will be used.