diff options
Diffstat (limited to 'src/service/tcp.rs')
-rw-r--r-- | src/service/tcp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service/tcp.rs b/src/service/tcp.rs index e28b19d..974d2f6 100644 --- a/src/service/tcp.rs +++ b/src/service/tcp.rs @@ -3,7 +3,7 @@ use std::{fmt::Display, net::SocketAddr, time::Duration}; use serde::{Deserialize, Serialize}; use tokio::{io::Interest, net::TcpSocket}; -use crate::Status; +use crate::status::Sender; use super::IntoService; @@ -33,7 +33,7 @@ impl Tcp { } impl IntoService for Tcp { - async fn into_service(self, tx: tokio::sync::watch::Sender<Status>) { + async fn into_service(self, tx: Sender) { let mut interval = tokio::time::interval(self.interval); loop { |