restructure API
jelmer opened this issue · comments
Jelmer Vernooij commented
The current API in rust is basically a 1:1 copy of what existed in Python. Instead, we should probably have a more rustic API.
Should UpstreamDatum be an enum (like it is now), or a trait for example?