From 87f99260f41c2405e3d74d1d2024e55665e2e0d6 Mon Sep 17 00:00:00 2001 From: Peter LeVasseur Date: Fri, 5 Apr 2024 15:08:11 -0400 Subject: [PATCH] Update naming. --- up-streamer/src/ustreamer.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/up-streamer/src/ustreamer.rs b/up-streamer/src/ustreamer.rs index 7a39b184..e93ed93e 100644 --- a/up-streamer/src/ustreamer.rs +++ b/up-streamer/src/ustreamer.rs @@ -27,7 +27,7 @@ const USTREAMER_FN_NEW_TAG: &str = "new():"; const USTREAMER_FN_ADD_FORWARDING_RULE_TAG: &str = "add_forwarding_rule():"; const USTREAMER_FN_DELETE_FORWARDING_RULE_TAG: &str = "delete_forwarding_rule():"; -type RegisteredForwardingRules = Arc< +type ForwardingRules = Arc< Mutex< HashMap< ( @@ -41,7 +41,7 @@ type RegisteredForwardingRules = Arc< >, >; type TransportForwarderCount = Arc>>; -type TransportForwarderMap = +type TransportForwarders = Arc>)>>>; /// A [`UStreamer`] is used to coordinate the addition and deletion of forwarding rules between @@ -223,8 +223,8 @@ type TransportForwarderMap = pub struct UStreamer { #[allow(dead_code)] name: String, - registered_forwarding_rules: RegisteredForwardingRules, - transport_forwarders: TransportForwarderMap, + registered_forwarding_rules: ForwardingRules, + transport_forwarders: TransportForwarders, transport_forwarder_count: TransportForwarderCount, message_queue_size: usize, }