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

Split Backend trait into types and functions #299

Open
ecton opened this issue May 14, 2023 · 0 comments
Open

Split Backend trait into types and functions #299

ecton opened this issue May 14, 2023 · 0 comments
Labels
networking Issues relating to either the networked server or client
Milestone

Comments

@ecton
Copy link
Member

ecton commented May 14, 2023

We should be able to derive the Backend trait, since all of the functionality is provided by default. Being able to specify the ClientData/Error types without an impl block would be a very nice addition.

To be able to do that, however, we need to split the behavior from the types, otherwise users can only derive the trait if they don't plan on overriding/implementing the other backend functions.

@ecton ecton added the networking Issues relating to either the networked server or client label May 14, 2023
@ecton ecton added this to the v1.0 milestone May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking Issues relating to either the networked server or client
Projects
None yet
Development

No branches or pull requests

1 participant