Rust::com Field APIs design and example of usage#700
Open
bharatGoswami8 wants to merge 11 commits into
Open
Conversation
* Created field interface APIs * Updated SampleMut to use in field as well
* Added field related files on build target
* Created impl block in Lola Runtime for field Producer and Consumer trait
* Mock Runtime impl block added for field APIs
* Updated Interface macro to generate field related types and APIs
* Create proc macro for field init and set handler validation before offer call
* Updated Runtime GATs for field public types * Updated Runtime implementation
* Updated example file with Field APIs usage
70fbb6e to
f7cd859
Compare
bharatGoswami8
commented
Jul 14, 2026
| /// "left_tire" and "exhaust" events. | ||
| /// - `VehicleOfferedProducer<R>` struct that implements `OfferedProducer` trait for offering | ||
| /// "left_tire" and "exhaust" events. | ||
| // TODO: We need to enable the support for mixed types (Event, Method, Field) in the same interface definition. |
* Updated the TODOs and documentation
6921668 to
6faaa6c
Compare
* Clone bound removed from fieldPublisher trait and impl block
6faaa6c to
21d958d
Compare
* Producer trait offer API limitation added to avoid direct use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#579