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-dc): export event module #2360

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Conversation

camshaft
Copy link
Contributor

Description of changes:

This change exports the event module from the s2n-quic-dc crate. There were a few issues with the code gen that wasn't caught, since it wasn't being exported previously, so I fixed those issues as well.

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

@camshaft camshaft marked this pull request as ready for review October 29, 2024 22:13
#[event("application:write")]
pub struct ApplicationRead {
/// The number of bytes that the application tried to read
len: usize,
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: maybe capacity is a better name for this field, since I presume it's how much space the application provided us?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah that's a good call. i can fix when i wire it up

@camshaft camshaft merged commit e2ac09e into main Oct 31, 2024
130 checks passed
@camshaft camshaft deleted the camshaft/dc-events-fixup branch October 31, 2024 16:31
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