1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 18:09:22 +02:00

add ws close description parse test

This commit is contained in:
Nathan Fox
2018-04-21 17:20:23 -04:00
parent 507361c1df
commit b7b61afacc
2 changed files with 12 additions and 1 deletions

View File

@ -179,7 +179,7 @@ impl From<u16> for CloseCode {
}
}
#[derive(Debug, PartialEq)]
#[derive(Debug, Eq, PartialEq, Clone)]
pub struct CloseReason {
pub code: CloseCode,
pub description: Option<String>,