mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
ws: SwarmControlMessage::ConnectionClosed: use Vec for info hashes
This commit is contained in:
parent
4c831643b1
commit
36954e5f48
3 changed files with 22 additions and 18 deletions
|
|
@ -67,11 +67,10 @@ impl Into<OutMessageMeta> for InMessageMeta {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum SwarmControlMessage {
|
||||
ConnectionClosed {
|
||||
info_hash: InfoHash,
|
||||
peer_id: PeerId,
|
||||
ip_version: IpVersion,
|
||||
announced_info_hashes: Vec<(InfoHash, PeerId)>,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue