TimelyDataflow / TimelyDataflow/timely-dataflow
[examples] using a struct type as input data
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 293
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 4
Description
after the getting started materials, I attempted to start pushing a struct through a dataflow graph and ran into a few snags.
Not super clear/didnt see examples of using non primitive data, such as InputHandle::<_, MyStruct>::new();
once I got past that, and had a super basic dataflow, I wasnt able to call exchange with that type, and that lead me into finding the Data, ExchangeData traits, trying to implement them, and into abomonation, etc...
Is there any example material like this that I missed/am I doing it wrong?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the getting started materials and existing examples, then trace how InputHandle::<_, MyStruct>::new() and exchange are used. Done means an example shows a struct moving through a basic dataflow graph and explains the relevant Data and ExchangeData requirements, including the abomonation concern raised in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100