diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/fakes/fake_input.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/tests/fakes/fake_input.rs b/src/tests/fakes/fake_input.rs index bd4295e..253082e 100644 --- a/src/tests/fakes/fake_input.rs +++ b/src/tests/fakes/fake_input.rs @@ -3,10 +3,7 @@ use ::ipnetwork::IpNetwork; use ::pnet_bandwhich_fork::datalink::DataLinkReceiver; use ::pnet_bandwhich_fork::datalink::NetworkInterface; use ::std::collections::HashMap; -use ::std::future::Future; use ::std::net::{IpAddr, Ipv4Addr, SocketAddr}; -use ::std::pin::Pin; -use ::std::task::{Context, Poll}; use ::std::{thread, time}; use ::termion::event::Event; use ::tokio::runtime::Runtime; @@ -187,13 +184,3 @@ impl Lookup for FakeResolver { self.0.get(&ip).cloned() } } - -struct FakeBackground {} - -impl Future for FakeBackground { - type Output = (); - - fn poll(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Self::Output> { - Poll::Ready(()) - } -} |