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

The reason for associated types over generics for embedded_can #635

Open
Thom-de-Jong opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@Thom-de-Jong
Copy link

Why does the embedded_can, Can trait use an associated type for the frame?

I want to link two libraries, each implementing their own can-bus and can-frame type, compatible with the Can and Frame traits, but a can frame from one can't be send to the other... Is there a way to make this work or do I have to manually convert between the types.

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

No branches or pull requests

1 participant