ws: further refactor of swarm worker to improve readability

This commit is contained in:
Joakim Frostegård 2024-01-25 23:24:10 +01:00
parent e6e663761c
commit f050467c2a
2 changed files with 236 additions and 186 deletions

View file

@ -57,7 +57,7 @@ pub struct AnnounceRequest {
pub answer_offer_id: Option<OfferId>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
pub enum AnnounceEvent {
Started,