aquatic_ws_load_test: fix multiple issues with implementation

This commit is contained in:
Joakim Frostegård 2020-08-03 05:15:24 +02:00
parent 5523c87634
commit 9f445c7c03
3 changed files with 88 additions and 148 deletions

View file

@ -260,7 +260,8 @@ impl InMessage {
}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Deserialize)]
#[serde(untagged)]
pub enum OutMessage {
AnnounceResponse(AnnounceResponse),
ScrapeResponse(ScrapeResponse),