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

CloseReason does not optionally implement serde::Serialize and Deserialize #3578

Open
LucaCappelletti94 opened this issue Feb 14, 2025 · 0 comments · May be fixed by #3579
Open

CloseReason does not optionally implement serde::Serialize and Deserialize #3578

LucaCappelletti94 opened this issue Feb 14, 2025 · 0 comments · May be fixed by #3579

Comments

@LucaCappelletti94
Copy link

As per title, the CloseReason does not implement serde::Serialize and Deserialize. Why is this?

#[derive(Debug, Eq, PartialEq, Clone)]
/// Reason for closing the connection
pub struct CloseReason {
/// Exit code
pub code: CloseCode,
/// Optional description of the exit code
pub description: Option<String>,
}

@LucaCappelletti94 LucaCappelletti94 linked a pull request Feb 14, 2025 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant