warnings removed

This commit is contained in:
ssrlive 2024-05-05 17:02:58 +08:00
parent 64dd43c6f3
commit 3980b985f2

View file

@ -14,7 +14,9 @@ pub(crate) trait ProxyHandler: Send + Sync {
fn consume_data(&mut self, dir: OutgoingDirection, size: usize); fn consume_data(&mut self, dir: OutgoingDirection, size: usize);
fn peek_data(&mut self, dir: OutgoingDirection) -> OutgoingDataEvent; fn peek_data(&mut self, dir: OutgoingDirection) -> OutgoingDataEvent;
fn connection_established(&self) -> bool; fn connection_established(&self) -> bool;
#[allow(dead_code)]
fn data_len(&self, dir: OutgoingDirection) -> usize; fn data_len(&self, dir: OutgoingDirection) -> usize;
#[allow(dead_code)]
fn reset_connection(&self) -> bool; fn reset_connection(&self) -> bool;
fn get_udp_associate(&self) -> Option<SocketAddr>; fn get_udp_associate(&self) -> Option<SocketAddr>;
} }