diff --git a/aquatic_udp/src/workers/socket/mod.rs b/aquatic_udp/src/workers/socket/mod.rs index 78e79bd..cf8290d 100644 --- a/aquatic_udp/src/workers/socket/mod.rs +++ b/aquatic_udp/src/workers/socket/mod.rs @@ -1,6 +1,6 @@ -mod common; mod requests; mod responses; +mod storage; use std::time::{Duration, Instant}; @@ -19,9 +19,9 @@ use socket2::{Domain, Protocol, Socket, Type}; use crate::common::*; use crate::config::Config; -use self::common::PendingScrapeResponseSlab; use self::requests::read_requests; use self::responses::send_responses; +use self::storage::PendingScrapeResponseSlab; pub fn run_socket_worker( _sentinel: PanicSentinel, diff --git a/aquatic_udp/src/workers/socket/requests.rs b/aquatic_udp/src/workers/socket/requests.rs index 9eead98..cc71eab 100644 --- a/aquatic_udp/src/workers/socket/requests.rs +++ b/aquatic_udp/src/workers/socket/requests.rs @@ -11,7 +11,7 @@ use aquatic_udp_protocol::*; use crate::common::*; use crate::config::Config; -use super::common::PendingScrapeResponseSlab; +use super::storage::PendingScrapeResponseSlab; pub fn read_requests( config: &Config, diff --git a/aquatic_udp/src/workers/socket/responses.rs b/aquatic_udp/src/workers/socket/responses.rs index 112c2fe..7bb5510 100644 --- a/aquatic_udp/src/workers/socket/responses.rs +++ b/aquatic_udp/src/workers/socket/responses.rs @@ -11,7 +11,7 @@ use aquatic_udp_protocol::*; use crate::common::*; use crate::config::Config; -use super::common::PendingScrapeResponseSlab; +use super::storage::PendingScrapeResponseSlab; pub fn send_responses( state: &State, diff --git a/aquatic_udp/src/workers/socket/common.rs b/aquatic_udp/src/workers/socket/storage.rs similarity index 100% rename from aquatic_udp/src/workers/socket/common.rs rename to aquatic_udp/src/workers/socket/storage.rs