Move peer state to a separate file

This commit is contained in:
Igor Katson 2021-06-28 14:23:28 +01:00
parent 0d85eb9f2a
commit 1e478aabac
5 changed files with 33 additions and 23 deletions

View file

@ -17,7 +17,8 @@ use crate::{
},
peer_id::try_decode_peer_id,
spawn_utils::{spawn, spawn_blocking},
torrent_state::{InflightRequest, PeerHandle, TorrentState},
torrent_state::{InflightRequest, TorrentState},
type_aliases::PeerHandle,
};
#[derive(Clone)]