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

feat(s2n-quic-events): Adds events for s2n-quic-dc #2321

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

maddeleine
Copy link
Contributor

Resolved issues:

N/A

Description of changes:

This PR includes changes to generate events for both s2n-quic and s2n-quic-dc. The biggest difference is that s2n-quic-dc will be passing around a single, shared Subscriber, which means that we need to produce events that take an immutable reference to the Subscriber, rather than a mutable reference. This has some cascading effects that you can see in this PR.

Call-outs:

I basically tokenized everything, not sure if this is how we want this to look. My goal was to make sure the original generated.rs didn't change at all with this change.

Testing:

Compiles. I included an example event in the dc folder to show what is produced from the change.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@camshaft camshaft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - just a few small changes

dc/s2n-quic-dc/src/event/generated.rs Outdated Show resolved Hide resolved
dc/s2n-quic-dc/src/event/generated.rs Outdated Show resolved Hide resolved
dc/s2n-quic-dc/src/event/generated.rs Outdated Show resolved Hide resolved
dc/s2n-quic-dc/src/event/generated.rs Outdated Show resolved Hide resolved
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.

2 participants