Rust::com Method Rust APIs design and Example usage #723
Open
bharatGoswami8 wants to merge 10 commits into
Open
Rust::com Method Rust APIs design and Example usage #723bharatGoswami8 wants to merge 10 commits into
bharatGoswami8 wants to merge 10 commits into
Conversation
* Created interface trait in concept crate for methods
* Macro created for generating register function * macro enable offer once all the registeration is completed
* Created matching arm and supporting macro for method interface generation
* created impl block for each trait in Lola Runtime * Updated export crate
* Updated mock runtime implementation
* Updated API usage in example application * Updated interface gen file
* Added the limitation to call the offer API directly
* Trait interface created for allocate APIs * example added
* Introduced new trait for allocation trait
bharatGoswami8
requested review from
LittleHuba,
bemerybmw,
castler,
crimson11,
hoe-jo and
limdor
as code owners
July 17, 2026 11:36
bharatGoswami8
force-pushed
the
Rust_Method_APIs_Design_and_Example
branch
from
July 17, 2026 11:48
459857a to
99b9bfc
Compare
bharatGoswami8
commented
Jul 17, 2026
Contributor
Author
There was a problem hiding this comment.
This macro is not fully optimized, as of now created to see how can be type state pattern used.
Added TODO some places and this needs to be optimized with field type state pattern.
bharatGoswami8
commented
Jul 17, 2026
bharatGoswami8
force-pushed
the
Rust_Method_APIs_Design_and_Example
branch
from
July 19, 2026 08:44
99b9bfc to
fe5036c
Compare
* Updated the documentation of APIs * Modified maker trait
bharatGoswami8
force-pushed
the
Rust_Method_APIs_Design_and_Example
branch
from
July 19, 2026 08:52
fe5036c to
c946397
Compare
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