From 3980b985f2aad09147e14ea6a0263cd70dfc6868 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Sun, 5 May 2024 17:02:58 +0800 Subject: [PATCH] warnings removed --- src/proxy_handler.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proxy_handler.rs b/src/proxy_handler.rs index fb9d9f4..74ccfdb 100644 --- a/src/proxy_handler.rs +++ b/src/proxy_handler.rs @@ -14,7 +14,9 @@ pub(crate) trait ProxyHandler: Send + Sync { fn consume_data(&mut self, dir: OutgoingDirection, size: usize); fn peek_data(&mut self, dir: OutgoingDirection) -> OutgoingDataEvent; fn connection_established(&self) -> bool; + #[allow(dead_code)] fn data_len(&self, dir: OutgoingDirection) -> usize; + #[allow(dead_code)] fn reset_connection(&self) -> bool; fn get_udp_associate(&self) -> Option; }