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

Add SomeTransport, an enum wrapping either an MMIO or PCI transport. #155

Draft
wants to merge 1 commit into
base: configspace
Choose a base branch
from

Conversation

qwandor
Copy link
Collaborator

@qwandor qwandor commented Jul 31, 2024

This lets clients write code that works for a VirtIO device with either transport without generics. Dynamic dispatch isn't possible because Transport isn't object-safe.

@qwandor qwandor force-pushed the anytransport branch 2 times, most recently from 9d56772 to efc56b2 Compare November 6, 2024 18:03
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.

1 participant