Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: add default method impls #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

SeaDve
Copy link
Owner

@SeaDve SeaDve commented Feb 14, 2024

Closes #6

This is actually not correct. We should not depend on the zbus::interface macro, and implement zbus::Interface on our own.

In implementing zbus::Interface::introspect_to_writer, check if the implementation of methods returns UnknownProperty, and only write that part if it returns Ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add sensible default method impl on traits and/or support optional properties
1 participant