Nothing...
This commit is contained in:
parent
15c078619c
commit
2a371537fe
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use std::net::SocketAddr;
|
||||
use std::pin::Pin;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
|
|
@ -66,7 +67,7 @@ impl TrackerComms {
|
|||
stats: Box<dyn TorrentStatsProvider>,
|
||||
force_interval: Option<Duration>,
|
||||
tcp_listen_port: Option<u16>,
|
||||
) -> Option<impl Stream<Item = SocketAddr> + Unpin + Send + 'static> {
|
||||
) -> Option<Pin<Box<dyn Stream<Item = SocketAddr> + Send + 'static>>> {
|
||||
let trackers = trackers
|
||||
.into_iter()
|
||||
.filter_map(|t| match Url::parse(&t) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue